Esempio n. 1
0
 /**
  * Constructor
  *
  * @param 	object 	An optional KConfig object with configuration options
  */
 public function __construct(KConfig $config)
 {
     // set the document object
     //@TODO submit koowa patch for this one
     $this->_document = KFactory::get('lib.joomla.document');
     parent::__construct($config);
 }
Esempio n. 2
0
 /**
  * Constructor.
  *
  * @param KObjectConfig $config Configuration options.
  */
 public function __construct(KObjectConfig $config)
 {
     $this->_layout = $config->layout;
     parent::__construct($config);
     $this->_renderer = $config->renderer;
 }