/** * Initializes the options for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param object An optional Library\ObjectConfig object with configuration options. * @return void */ protected function _initialize(Library\ObjectConfig $config) { $config->append(array('id' => '', 'table' => 'com:extensions.database.table.extensions')); parent::_initialize($config); }
/** * Initializes the options for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param object An optional Library\ObjectConfig object with configuration options. * @return void */ protected function _initialize(Library\ObjectConfig $config) { $config->append(array('name' => 'system', 'path' => JPATH_ROOT . '/config/config.php', 'data' => \JFactory::getConfig()->toArray())); parent::_initialize($config); }