Exemplo n.º 1
0
 /**
  * @param array $args
  */
 protected final function base_post(array $args = array())
 {
     if ($this->needUserRole <= $this->user->data()->role) {
         $this->request_post($args);
     } else {
         $this->setTemplate($this->templateAccessDeny());
         $this->setResponseCode(HttpResponseCode::FORBIDDEN);
     }
 }