function getDisplayIntro() { if ($custom = $this->getCustomHeaderDisplay() and function_exists($custom)) { return AMP_to_buffer($custom($this)); } return $this->getHeaderArticle(); }
function AMP_directDisplay($html, $display_name = null) { $direct_display = AMP_to_buffer($html); $currentPage =& AMPContent_Page::instance(); $currentPage->contentManager->addDisplay($direct_display, $display_name); }