Exemplo n.º 1
0
 /**
  * @return mixed
  */
 protected function preProcess()
 {
     //	Do validation here
     $this->validateResourceAccess();
     parent::preProcess();
 }
Exemplo n.º 2
0
 /**
  * A chance to pre-process the data.
  *
  * @return mixed|void
  */
 protected function preProcess()
 {
     parent::preProcess();
     $this->checkPermission($this->getRequestedAction(), $this->name);
     //  set outbound parameters
     $this->buildParameterString($this->parameters, $this->action, $this->query, $this->cacheQuery, $this->request->getParameters());
     //	set outbound headers
     $this->addHeaders($this->headers, $this->action, $this->curlOptions);
 }