Esempio n. 1
0
 function displayArticle()
 {
     $data = $this->_source->getData();
     $article = new Article($this->_region->dbcon, $data['id']);
     $display = new Article_Display($article);
     return $display->execute();
 }
Esempio n. 2
0
 function _HTML_end()
 {
     if (!AMP_CONTENT_FAIR_USE_NOTICE) {
         return parent::_HTML_end();
     }
     return $this->_HTML_fairUseNotice() . parent::_HTML_end();
 }
Esempio n. 3
0
 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));
 }