/** * Initializes the options 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( 'id' => '', 'table' => 'com://admin/extensions.database.table.components' )); parent::_initialize($config); }
/** * Initializes the options 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( 'name' => 'system', 'path' => JPATH_CONFIGURATION.DS.'configuration.php', 'data' => KFactory::get('joomla:config')->toArray() )); parent::_initialize($config); }