本文整理汇总了PHP中Object::_initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP Object::_initialize方法的具体用法?PHP Object::_initialize怎么用?PHP Object::_initialize使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Object
的用法示例。
在下文中一共展示了Object::_initialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _initialize
/**
* 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);
}
示例2: _initialize
/**
* 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);
}
示例3: _initialize
/**
* 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);
}
示例4: _initialize
/**
* 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);
}
示例5: _initialize
/**
* 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);
}
示例6: _initialize
/**
* 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);
}
示例7: _initialize
/**
* 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);
}
示例8: _initialize
/**
* 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);
}
示例9: _initialize
/**
* 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);
}
示例10: _initialize
/**
* 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);
}
示例11: _initialize
/**
* 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);
}
示例12: _initialize
/**
* 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);
}
示例13: _initialize
/**
* 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);
}
示例14: _initialize
/**
* 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);
}
示例15: _initialize
/**
* 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);
}