/** * Constructor. * * @param KObjectConfig $config Configuration options */ public function __construct(KObjectConfig $config) { parent::__construct($config); foreach ($config->schemes as $alias => $path) { $this->addScheme($alias, $path); } }
/** * Constructor. * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config = null) { parent::__construct($config); //Load the theme chrome functions include_once JPATH_THEMES . '/system/html/modules.php'; include_once JPATH_THEMES . '/' . $config->template . '/html/modules.php'; }
/** * Constructor. * * @param object An optional KConfig object with configuration options */ public function __construct( KConfig $config = null) { parent::__construct($config); $this->_token_value = $config->token_value; $this->_token_name = $config->token_name; }
/** * Constructor. * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config = null) { parent::__construct($config); $this->_title = $config->title; $this->_class = $config->class; $this->_styles = KConfig::unbox($config->styles); $this->_attribs = KConfig::unbox($config->attribs); }
/** * Constructor. * * @param object An optional KConfig object with configuration options */ public function __construct(KConfig $config = null) { parent::__construct($config); include_once JPATH_THEMES . '/system/html/modules.php'; if (file_exists(JPATH_THEMES . '/' . $config->template . '/html/modules.php')) { include_once JPATH_THEMES . '/' . $config->template . '/html/modules.php'; } }
public function __construct(KConfig $config) { parent::__construct($config); if (empty($config->namespace) && $config->namespace !== false) { $identifier = $this->getIdentifier(); $config->namespace = sprintf('%s_%s', $identifier->type, $identifier->package); } $this->setNamespace($config->namespace); }
/** * Constructor. * * @param KObjectConfig $config Configuration options */ public function __construct(KObjectConfig $config = null) { parent::__construct($config); include_once JPATH_THEMES . '/system/html/modules.php'; $template = JFactory::getApplication()->getTemplate(); if (file_exists(JPATH_THEMES . '/' . $template . '/html/modules.php')) { include_once JPATH_THEMES . '/' . $template . '/html/modules.php'; } }
/** * Constructor * * @param KObjectConfig $config Configuration options */ public function __construct(KObjectConfig $config) { parent::__construct($config); $this->setToolbars(KObjectConfig::unbox($config->toolbars)); }
/** * Constructor. * * @param KObjectConfig $config Configuration options */ public function __construct(KObjectConfig $config = null) { parent::__construct($config); $this->_token_value = $this->getObject('user')->getSession()->getToken(); $this->_token_name = $config->token_name; }
/** * @param KObjectConfig $config */ public function __construct(KObjectConfig $config) { parent::__construct($config); $this->setWrapper($config->wrapper); }