예제 #1
0
파일: ui.php 프로젝트: LuccaCaldas/anahita
 /**
  * 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.
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('paths' => array(dirname(__FILE__) . '/ui')));
     parent::_initialize($config);
     $paths = KConfig::unbox($config->paths);
     array_unshift($paths, JPATH_THEMES . '/' . JFactory::getApplication()->getTemplate() . '/html/com_locations/ui');
     $config->paths = $paths;
     $this->_service = get_config_value('locations.service', 'google');
 }
예제 #2
0
파일: ui.php 프로젝트: walteraries/anahita
 /**
  * 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('paths' => array(dirname(__FILE__) . '/ui')));
     parent::_initialize($config);
 }