public forbiddenAction ( ) : Zend\View\Model\ViewModel | array | ||
return | Zend\View\Model\ViewModel | array |
public function forbiddenAction()
{
$this->getResponse()->setStatusCode(403);
$this->getResponse()->isForbidden(true);
$this->layout()->setVariable('module', null);
}