function displayArticle() { $data = $this->_source->getData(); $article = new Article($this->_region->dbcon, $data['id']); $display = new Article_Display($article); return $display->execute(); }
function _HTML_end() { if (!AMP_CONTENT_FAIR_USE_NOTICE) { return parent::_HTML_end(); } return $this->_HTML_fairUseNotice() . parent::_HTML_end(); }
function _HTML_Content() { $text = parent::_HTML_Content(); if (!trim($text)) { return ''; } return $this->_HTML_in_P($this->_activateIncludes($text), array('class' => $this->_css_class_text)); }