Example #1
0
 public function render()
 {
     $base = clone $this->getObject('request')->getBaseUrl();
     $this->sitebase = (string) $base;
     $base->setQuery(array('option' => 'com_files'));
     $this->getObject('application')->getRouter()->build($base);
     $this->base = (string) $base;
     return parent::render();
 }
Example #2
0
 public function render()
 {
     $base = clone $this->getObject('request')->getBaseUrl();
     $this->sitebase = (string) $base;
     // FIXME: take out the hardcoded Itemid
     $base->setQuery(array('option' => 'com_files', 'Itemid' => 56));
     $this->getObject('application')->getRouter()->build($base);
     $this->base = (string) $base;
     return parent::render();
 }
Example #3
0
 protected function _initialize(Library\ObjectConfig $config)
 {
     $config->append(array('auto_assign' => false));
     parent::_initialize($config);
 }