function __construct($config = array()) { parent::__construct($config); $this->registerDefaultTask('toggle'); if (!headers_sent()) { header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); } }
function state() { JRequest::setVar('layout', 'state'); return parent::display(); }