Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }