Exemplo n.º 1
0
 /**
  * Initializes the options 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('data' => array(), 'view' => null, 'filters' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 2
0
 /**
  * Initializes the options 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('template' => null));
     parent::_initialize($config);
 }
Exemplo n.º 3
0
 /**
  * Initializes the options 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('state' => 'lib:model.state'));
     parent::_initialize($config);
 }
Exemplo n.º 4
0
 /**
  * Initializes the options 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('table' => $this->getIdentifier()->name, 'data' => null, 'identity_column' => null, 'prototypable' => true));
     parent::_initialize($config);
 }
Exemplo n.º 5
0
 /**
  * Initializes the default configuration 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('exception_callbacks' => array(), 'exception_type' => self::TYPE_ALL, 'error_reporting' => self::ERROR_REPORTING, 'error_operator' => true));
     parent::_initialize($config);
 }
Exemplo n.º 6
0
 /**
  * Initializes the options 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('id' => 0, 'email' => '', 'name' => '', 'role' => 0, 'groups' => array(), 'password' => '', 'salt' => '', 'authentic' => false, 'enabled' => true, 'expired' => false, 'attributes' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 7
0
 /**
  * Initializes the options 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('force_reload' => false, 'bootstrapped' => false, 'directories' => array(), 'components' => array(), 'namespaces' => array(), 'files' => array(), 'aliases' => array(), 'identifiers' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 8
0
 /**
  * Initializes the options 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('properties' => array('id' => 0, 'email' => '', 'name' => '', 'language' => '', 'timezone' => '', 'roles' => array(), 'groups' => array(), 'password' => '', 'salt' => '', 'authentic' => false, 'enabled' => true, 'expired' => false, 'parameters' => array())));
     parent::_initialize($config);
 }
Exemplo n.º 9
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $object An optional ObjectConfig object with configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('data' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 10
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config Configuration options.
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('stream_prefix' => 'kodekit-', 'streams' => array('lib:filesystem.stream.buffer')));
     parent::_initialize($config);
 }
Exemplo n.º 11
0
 /**
  * Initializes the options 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('name' => '', 'value' => null, 'domain' => null, 'expire' => 0, 'path' => '/', 'secure' => false, 'http_only' => true));
     parent::_initialize($config);
 }
Exemplo n.º 12
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation
  *
  * @param   ObjectConfig $object An optional ObjectConfig object with configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('users' => array($this->getObject('user'))));
     parent::_initialize($config);
 }
Exemplo n.º 13
0
 /**
  * Initializes the options 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('data' => array(), 'view' => null, 'filter_chain' => $this->getObject('lib:template.filter.chain'), 'filters' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 14
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param  Cpnfig $config An optional ObjectConfig object with configuration options
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('template' => null, 'priority' => TemplateFilterChain::PRIORITY_NORMAL));
     parent::_initialize($config);
 }
Exemplo n.º 15
0
 /**
  * Initializes the default configuration for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   object  An optional ObjectConfig object with configuration options.
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('version' => '1.1', 'content' => '', 'content_type' => '', 'headers' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 16
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config Configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('break_condition' => false, 'enabled' => true));
     parent::_initialize($config);
 }
Exemplo n.º 17
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation
  *
  * @param   ObjectConfig $object An optional ObjectConfig object with configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('handler' => 'file', 'user' => null, 'name' => 'KSESSIONID', 'id' => '', 'lifetime' => 1440, 'namespace' => '__nooku', 'options' => array('auto_start' => 0, 'cache_limiter' => '', 'use_cookies' => 1, 'use_only_cookies' => 1, 'cookie_httponly' => 1, 'save_handler' => 'files', 'use_trans_sid' => 0, 'entropy_file' => '/dev/urandom', 'entropy_length' => 128, 'hash_function' => 'sha256', 'hash_bits_per_character' => 5)));
     parent::_initialize($config);
 }
Exemplo n.º 18
0
 /**
  * Initializes the options 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('type' => 'JWT', 'algorithm' => self::HS256));
     parent::_initialize($config);
 }
Exemplo n.º 19
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('model' => 'lib:model.empty', 'contents' => '', 'mimetype' => '', 'url' => $this->getObject('lib:http.url')));
     parent::_initialize($config);
 }
Exemplo n.º 20
0
 /**
  * Initializes the options 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)
 {
     $package = $this->getIdentifier()->package;
     $name = $this->getIdentifier()->name;
     $config->append(array('driver' => 'lib:database.driver.mysqli', 'name' => empty($package) ? $name : $package . '_' . $name, 'column_map' => null, 'filters' => array(), 'behaviors' => array(), 'identity_column' => null, 'command_chain' => 'lib:command.chain'))->append(array('base' => $config->name));
     parent::_initialize($config);
 }
Exemplo n.º 21
0
 /**
  * Initializes the options 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('url' => '', 'escape' => false));
     parent::_initialize($config);
 }
Exemplo n.º 22
0
 /**
  * Initializes the config for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config Configuration options
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('data' => array(), 'parameters' => array(), 'model' => 'lib:model.empty', 'content' => '', 'mimetype' => 'application/octet-stream ', 'url' => $this->getObject('lib:http.url'), 'title' => ucfirst($this->getName()), 'behaviors' => array('lib:behavior.eventable')));
     parent::_initialize($config);
 }
Exemplo n.º 23
0
 /**
  * Initializes the options 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('mode' => 'rb', 'params' => array('options' => array()), 'filters' => array(), 'wrappers' => array()));
     parent::_initialize($config);
 }
Exemplo n.º 24
0
 /**
  * Initializes the options 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('identity_key' => null, 'state' => 'lib:model.state', 'state_defaults' => array(), 'behaviors' => array('lib:behavior.eventable')));
     parent::_initialize($config);
 }
Exemplo n.º 25
0
 /**
  * Initializes the options for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config Configuration options.
  * @return  void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('locators' => array('lib:filesystem.locator.file')));
     parent::_initialize($config);
 }
Exemplo n.º 26
0
 /**
  * Initializes the options 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)
 {
     $package = $this->getIdentifier()->package;
     $name = $this->getIdentifier()->name;
     $config->append(array('adapter' => 'lib:database.adapter.mysql', 'name' => empty($package) ? $name : $package . '_' . $name, 'column_map' => null, 'filters' => array(), 'behaviors' => array(), 'identity_column' => null, 'command_chain' => $this->getObject('lib:command.chain'), 'dispatch_events' => false, 'event_dispatcher' => null, 'enable_callbacks' => false))->append(array('base' => $config->name));
     parent::_initialize($config);
 }
Exemplo n.º 27
0
 /**
  * Initializes the options 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));
     parent::_initialize($config);
 }
Exemplo n.º 28
0
 /**
  * Initializes the default configuration for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   ObjectConfig $config Configuration options.
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('dispatched' => false, 'request' => array(), 'response' => array(), 'user' => array(), 'behaviors' => array('permissible', 'lib:behavior.eventable')));
     parent::_initialize($config);
 }
Exemplo n.º 29
0
 /**
  * Initializes the default configuration for the object
  *
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   object  An optional ObjectConfig object with configuration options.
  * @return void
  */
 protected function _initialize(ObjectConfig $config)
 {
     $config->append(array('auto_register' => false));
     parent::_initialize($config);
 }
Exemplo n.º 30
0
 /**
  * Initializes the options 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('options' => array(), 'charset' => 'UTF8', 'command_chain' => 'lib:command.chain', 'dispatch_events' => true, 'event_dispatcher' => 'event.dispatcher', 'enable_callbacks' => false, 'connection' => null));
     parent::_initialize($config);
 }