declareParam('main', 1); $this->declareParam('sidebar', 1); } /** Apply filtering to the input and return an output. * * @param $input */ function filter($input) { global $page; if ($this->getParamValue('sidebar')) { array_unshift($page->head, ''); } if ($this->getParamValue('main')) { array_unshift($page->head, ''); } return $input; } } ?>