コード例 #1
0
 /**
  * Initializes the config for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config  An optional ObjectConfig object with configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('priority' => self::PRIORITY_HIGH));
     parent::_initialize($config);
 }
コード例 #2
0
ファイル: json.php プロジェクト: janssit/www.rvproductions.be
 /**
  * Initializes the config for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config  An optional ObjectConfig object with configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('priority' => self::PRIORITY_NORMAL, 'padding' => ''));
     parent::_initialize($config);
 }