/**
  * Parse the plain text template
  *
  * @return string
  */
 public function generatePlain()
 {
     if (!strlen($this->singleSRC) || !is_file(TL_ROOT . '/' . $this->singleSRC)) {
         return '';
     }
     return parent::generatePlain();
 }
 /**
  * Parse the plain text template
  *
  * @return string
  */
 public function generatePlain()
 {
     $this->multiSRC = deserialize($this->multiSRC);
     if (!is_array($this->multiSRC) || count($this->multiSRC) < 1) {
         return '';
     }
     return parent::generatePlain();
 }
Beispiel #3
0
 /**
  * Parse the plain text template
  *
  * @return string
  */
 public function generatePlain()
 {
     if ($this->loadArticle()) {
         $buffer = parent::generatePlain();
         unset($GLOBALS['objPage']);
         return $buffer;
     }
     return '';
 }