Пример #1
0
 /**
  * Test for print view
  *
  * @return void
  */
 public function testPrintView()
 {
     $header = new PMA_Header();
     $header->enablePrintView();
     $this->assertContains(
         'Print view',
         $header->getDisplay()
     );
 }
Пример #2
0
 /**
  * Renders the HTML response text
  *
  * @return string
  */
 private function _getDisplay()
 {
     // The header may contain nothing at all,
     // if its content was already rendered
     // and, in this case, the header will be
     // in the content part of the request
     $retval = $this->_header->getDisplay();
     $retval .= $this->_HTML;
     $retval .= $this->_footer->getDisplay();
     return $retval;
 }