/** * Disables the rendering of the header * and the footer in responses * * @return void */ public function disable() { $this->_header->disable(); $this->_footer->disable(); }
/** * Test for disable * * @return void */ public function testDisable() { $footer = new PMA_Footer(); $footer->disable(); $this->assertEquals('', $footer->getDisplay()); }