当前位置: 首页>>代码示例>>PHP>>正文


PHP ezcBaseOptions类代码示例

本文整理汇总了PHP中ezcBaseOptions的典型用法代码示例。如果您正苦于以下问题:PHP ezcBaseOptions类的具体用法?PHP ezcBaseOptions怎么用?PHP ezcBaseOptions使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了ezcBaseOptions类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


注:本文中的ezcBaseOptions类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。