/** * Parse the html template * * @return string */ public function generateHTML() { if ($this->useImage) { $this->strTemplate = 'nle_hyperlink_image'; } return parent::generateHTML(); }
/** * Parse the html template * * @return string */ public function generateHTML() { if (!strlen($this->singleSRC) || !is_file(TL_ROOT . '/' . $this->singleSRC)) { return ''; } return parent::generateHTML(); }
/** * Parse the html template * * @return string */ public function generateHTML() { $this->multiSRC = deserialize($this->multiSRC); if (!is_array($this->multiSRC) || count($this->multiSRC) < 1) { return ''; } return parent::generateHTML(); }
/** * Parse the html template * * @return string */ public function generateHTML() { if ($this->loadArticle()) { $buffer = parent::generateHTML(); unset($GLOBALS['objPage']); return $buffer; } return ''; }