/** * Initializes the options 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('separator' => '-', 'length' => 100)); parent::_initialize($config); }
/** * Initializes the config 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('encoding' => 'utf8', 'options' => array('clean' => true, 'drop-proprietary-attributes' => true, 'output-html' => true, 'show-body-only' => true, 'bare' => true, 'wrap' => 0, 'word-2000' => true))); parent::_initialize($config); }
/** * 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('max' => PHP_INT_MAX, 'min' => ~PHP_INT_MAX)); parent::_initialize($config); }