本文整理汇总了PHP中ezcBaseOptions类的典型用法代码示例。如果您正苦于以下问题:PHP ezcBaseOptions类的具体用法?PHP ezcBaseOptions怎么用?PHP ezcBaseOptions使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ezcBaseOptions类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->properties['failForRegexp'] = null;
$this->properties['failingOperations'] = 0;
$this->properties['lockFile'] = null;
parent::__construct($options);
}
开发者ID:jordanmanning,项目名称:ezpublish,代码行数:16,代码来源:backend_memory_options.php
示例2: __construct
/**
* Constructor
*
* @param array $options Default option array
* @return void
* @ignore
*/
public function __construct(array $options = array())
{
$this->properties['width'] = null;
$this->properties['height'] = null;
$this->properties['font'] = new ezcGraphFontOptions();
parent::__construct($options);
}
开发者ID:broschb,项目名称:cyclebrain,代码行数:14,代码来源:chart.php
示例3: __construct
/**
* Construct a new options object.
* Options are constructed from an option array by default. The constructor
* automatically passes the given options to the __set() method to set them
* in the class.
*
* @throws ezcBasePropertyNotFoundException
* If trying to access a non existent property.
* @throws ezcBaseValueException
* If the value for a property is out of range.
* @param array(string=>mixed) $options The initial options to set.
*/
public function __construct(array $options = array())
{
$this->properties['lockTimeout'] = 900;
$this->properties['backendLockTimeout'] = 10000000;
$this->properties['backendLockWaitTime'] = 10000;
parent::__construct($options);
}
开发者ID:jkimdon,项目名称:cohomeals,代码行数:19,代码来源:options.php
示例4: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->mailClass = 'ezcMail';
// default value for mail class is 'ezcMail'
$this->fileClass = 'ezcMailFile';
// default value for file attachment class is 'ezcMailFile'
parent::__construct($options);
}
开发者ID:jacomyma,项目名称:GEXF-Atlas,代码行数:17,代码来源:parser_options.php
示例5: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->timeout = 5;
// default value for timeout is 5 seconds
$this->ssl = false;
// default value for ssl is false
parent::__construct($options);
}
开发者ID:ksecor,项目名称:civicrm,代码行数:17,代码来源:transport_options.php
示例6: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options Options for this class
*/
public function __construct(array $options = array())
{
$this->validity = 1200;
// seconds
$this->idKey = 'ezcAuth_id';
$this->timestampKey = 'ezcAuth_timestamp';
parent::__construct($options);
}
开发者ID:jordanmanning,项目名称:ezpublish,代码行数:17,代码来源:session_options.php
示例7: __construct
/**
* Construct a new options object.
* Options are constructed from an option array by default. The constructor
* automatically passes the given options to the __set() method to set them
* in the class.
*
* @throws ezcBasePropertyNotFoundException
* If trying to access a non existent property.
* @throws ezcBaseValueException
* If the value for a property is out of range.
* @param array(string=>mixed) $options The initial options to set.
*/
public function __construct(array $options = array())
{
$this->properties['templatePath'] = dirname(__FILE__) . '/../template_writer/templates';
$this->properties['templateCompilePath'] = '.';
$this->properties['overwrite'] = false;
$this->properties['classPrefix'] = '';
parent::__construct($options);
}
开发者ID:jordanmanning,项目名称:ezpublish,代码行数:20,代码来源:template_writer_options.php
示例8: __construct
/**
* Construct a new options object.
* Options are constructed from an option array by default. The constructor
* automatically passes the given options to the __set() method to set them
* in the class.
*
* @throws ezcBasePropertyNotFoundException
* If trying to access a non existent property.
* @throws ezcBaseValueException
* If the value for a property is out of range.
* @param array(string=>mixed) $options The initial options to set.
*/
public function __construct(array $options = array())
{
$this->properties['configurator'] = null;
$this->properties['metaStorage'] = null;
$this->properties['replacementStrategy'] = 'ezcCacheStackLruReplacementStrategy';
$this->properties['bubbleUpOnRestore'] = false;
parent::__construct($options);
}
开发者ID:jacomyma,项目名称:GEXF-Atlas,代码行数:20,代码来源:stack.php
示例9: __construct
/**
* Constructor
*
* @param array $options Default option array
* @return void
* @ignore
*/
public function __construct(array $options = array())
{
$this->properties['red'] = 0;
$this->properties['green'] = 0;
$this->properties['blue'] = 0;
$this->properties['alpha'] = 0;
parent::__construct($options);
}
开发者ID:andikoller,项目名称:FHC-3.0-FHBGLD,代码行数:15,代码来源:color.php
示例10: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->basePath = '';
$this->displayRootNode = false;
$this->highlightNodeIds = array();
$this->selectedNodeLink = false;
parent::__construct($options);
}
开发者ID:bmdevel,项目名称:ezc,代码行数:17,代码来源:visitor_yui.php
示例11: __construct
/**
* Constructor
*
* @param array $options Default option array
* @return void
* @ignore
*/
public function __construct(array $options = array())
{
$this->properties['tableClassName'] = 'ezcDbSchemaTable';
$this->properties['fieldClassName'] = 'ezcDbSchemaField';
$this->properties['indexClassName'] = 'ezcDbSchemaIndex';
$this->properties['indexFieldClassName'] = 'ezcDbSchemaIndexField';
$this->properties['tableNamePrefix'] = '';
parent::__construct($options);
}
开发者ID:jordanmanning,项目名称:ezpublish,代码行数:16,代码来源:schema.php
示例12: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* If $options contains a property not defined.
* @throws ezcBaseValueException
* If $options contains a property with a value not allowed.
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->properties['lockWaitTime'] = 200000;
$this->properties['maxLockTime'] = 5;
$this->properties['lockKey'] = '.ezcLock';
$this->properties['metaDataKey'] = '.ezcMetaData';
$this->storageOptions = new ezcCacheStorageOptions();
parent::__construct($options);
}
开发者ID:jacomyma,项目名称:GEXF-Atlas,代码行数:18,代码来源:storage_apc.php
示例13: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->mailClass = 'ezcMail';
// default value for mail class is 'ezcMail'
$this->fileClass = 'ezcMailFile';
// default value for file attachment class is 'ezcMailFile'
$this->parseTextAttachmentsAsFiles = false;
// default is to parse text attachments in ezcMailTextPart objects
parent::__construct($options);
}
开发者ID:kidaa30,项目名称:yes,代码行数:19,代码来源:parser_options.php
示例14: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->properties['noLock'] = false;
$this->properties['waitForLock'] = 200000;
$this->properties['lockFileName'] = '.ezc_lock';
$this->properties['propertyStoragePath'] = '.ezc';
$this->properties['directoryMode'] = 0755;
$this->properties['fileMode'] = 0644;
$this->properties['useMimeExts'] = true;
$this->properties['hideDotFiles'] = true;
parent::__construct($options);
}
开发者ID:jacomyma,项目名称:GEXF-Atlas,代码行数:21,代码来源:backend_file_options.php
示例15: __construct
/**
* Constructor
*
* @param array $options Default option array
* @return void
* @ignore
*/
public function __construct(array $options = array())
{
$this->properties['width'] = null;
$this->properties['height'] = null;
$this->properties['lineSpacing'] = 0.1;
$this->properties['shadeCircularArc'] = 0.5;
$this->properties['font'] = new ezcGraphFontOptions();
$this->properties['font']->color = ezcGraphColor::fromHex('#000000');
$this->properties['autoShortenString'] = true;
$this->properties['autoShortenStringPostFix'] = '..';
parent::__construct($options);
}
开发者ID:gbleydon,项目名称:mahara-survey,代码行数:19,代码来源:driver.php
示例16: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* If $options contains a property not defined.
* @throws ezcBaseValueException
* If $options contains a property with a value not allowed.
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->properties['host'] = 'localhost';
$this->properties['port'] = 11211;
$this->properties['persistent'] = false;
$this->properties['compressed'] = false;
$this->properties['lockWaitTime'] = 200000;
$this->properties['maxLockTime'] = 5;
$this->properties['lockKey'] = '.ezcLock';
$this->properties['metaDataKey'] = '.ezcMetaData';
$this->storageOptions = new ezcCacheStorageOptions();
parent::__construct($options);
}
开发者ID:jordanmanning,项目名称:ezpublish,代码行数:22,代码来源:storage_memcache.php
示例17: __construct
/**
* Constructor
*
* @param array $options Default option array
* @return void
* @ignore
*/
public function __construct(array $options = array())
{
$this->properties['majorStepCount'] = false;
$this->properties['minorStepCount'] = false;
$this->properties['majorStepSize'] = 3;
$this->properties['minorStepSize'] = 1;
$this->properties['innerStep'] = true;
$this->properties['outerStep'] = false;
$this->properties['outerGrid'] = false;
$this->properties['showLabels'] = true;
$this->properties['labelPadding'] = 2;
parent::__construct($options);
}
开发者ID:jordanmanning,项目名称:ezpublish,代码行数:20,代码来源:axis_label_renderer.php
示例18: __construct
public function __construct(array $options = array())
{
$this->iniFile = '';
$this->iniSection = 'HandlerSettings';
$this->iniVariable = 'HandlerClassName';
$this->handlerIndex = null;
$this->callMethod = null;
$this->handlerParams = null;
$this->aliasSection = null;
$this->aliasVariable = null;
$this->aliasOptionalIndex = null;
parent::__construct($options);
}
开发者ID:brookinsconsulting,项目名称:ezecosystem,代码行数:13,代码来源:ezpextensionoptions.php
示例19: __construct
/**
* Constructs an object with the specified values.
*
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
* @throws ezcBaseValueException
* if $options contains a property with a value not allowed
* @param array(string=>mixed) $options
*/
public function __construct(array $options = array())
{
$this->tableName = 'user';
$this->userIdField = 'email';
$this->userNameField = 'name';
$this->passwordField = 'password';
$this->database = ezcDbInstance::get();
$this->varNameFilter = 'ezcAuth_filter';
$this->varNameUserName = 'ezcAuth_user_name';
$this->varNameUserId = 'ezcAuth_user_id';
$this->sessionUserIdKey = 'ezcAuth_id';
$this->sessionTimestampKey = 'ezcAuth_timestamp';
$this->loginRequiredUri = '/login-required';
$this->logoutUri = '/';
parent::__construct($options);
}
开发者ID:bmdevel,项目名称:ezc,代码行数:25,代码来源:filter-options.php
示例20: __construct
/**
* Construct a new options object.
*
* NOTE: For backwards compatibility reasons the old method of instantiating this class is kept,
* but the usage of the new version (providing an option array) is highly encouraged.
*
* @param array(string=>mixed) $options The initial options to set.
* @return void
*
* @throws ezcBasePropertyNotFoundException
* If the value for the property options is not an instance of
* @throws ezcBaseValueException
* If the value for a property is out of range.
*/
public function __construct()
{
$args = func_get_args();
if (func_num_args() === 1 && is_array($args[0]) && !is_int(key($args[0]))) {
parent::__construct($args[0]);
} else {
foreach ($args as $id => $val) {
switch ($id) {
case 0:
$this->__set('colWidth', $val);
break;
case 1:
$this->__set('colWrap', $val);
break;
case 2:
$this->__set('defaultAlign', $val);
break;
case 3:
$this->__set('colPadding', $val);
break;
case 4:
$this->__set('widthType', $val);
break;
case 5:
$this->__set('lineVertical', $val);
break;
case 6:
$this->__set('lineHorizontal', $val);
break;
case 7:
$this->__set('corner', $val);
break;
case 8:
$this->__set('defaultFormat', $val);
break;
case 9:
$this->__set('defaultBorderFormat', $val);
break;
}
}
}
}
开发者ID:sakshika,项目名称:ATM,代码行数:56,代码来源:table.php
注:本文中的ezcBaseOptions类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论