當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ezcBaseOptions::__construct方法代碼示例

本文整理匯總了PHP中ezcBaseOptions::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP ezcBaseOptions::__construct方法的具體用法?PHP ezcBaseOptions::__construct怎麽用?PHP ezcBaseOptions::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在ezcBaseOptions的用法示例。


在下文中一共展示了ezcBaseOptions::__construct方法的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

 /**
  * 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

示例10: __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

示例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::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。