Exemple #1
0
 protected function executeStart()
 {
     try {
         parent::executeStart();
         header('Content-Type: application/xml');
     } catch (Exception $e) {
         throw $e;
     }
 }
Exemple #2
0
 /**
  * nastavime XML header
  */
 protected function executeStart()
 {
     try {
         parent::executeStart();
         $this->config->setOutputFilter(new OutputFilterPageRSS($this));
         header('Content-Type: application/xml');
     } catch (Exception $e) {
         throw $e;
     }
 }
Exemple #3
0
 public function executeInit()
 {
     try {
         parent::executeInit();
         if ($this->showConnivance()) {
             FirePHP::getInstance(true)->setEnabled(true);
             FB::setEnabled(true);
         }
     } catch (Exception $e) {
         throw $e;
     }
 }
 /**
  * getter na stranku s editaci
  * @return LBoxPage
  */
 public function getPageEdit()
 {
     try {
         if ($this->pageEdit instanceof LBoxPage) {
             return $this->pageEdit;
         }
         if (strlen($this->propertyNameRefPageEdit) < 1) {
             return NULL;
         }
         $this->pageEdit = LBoxConfigManagerStructure::getInstance()->getPageById(LBoxConfigManagerProperties::getPropertyContentByName($this->propertyNameRefPageEdit));
         $this->pageEdit->setOutputFilter(new OutputFilterPage($this->pageEdit));
         return $this->pageEdit;
     } catch (Exception $e) {
         throw $e;
     }
 }