/** * Initializes the config for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param object An optional KConfig object with configuration options * @return void */ protected function _initialize(KConfig $config) { $config->append(array( 'mimetype' => 'text/html', 'template_filters' => array('form'), )); parent::_initialize($config); }
/** * Initializes the config for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param KObjectConfig $config An optional KObject object with configuration options * @return void */ protected function _initialize(KObjectConfig $config) { $config->append(array('mimetype' => 'application/rss+xml', 'data' => array('update_period' => 'hourly', 'update_frequency' => 1))); parent::_initialize($config); }