Example #1
0
 /**
  * Dispatches client requests to proper objects, print the returned html text.
  *
  * @return string
  */
 public function dispatchRequest()
 {
     if ($this->request->hasInvocation()) {
         if ($this->isSessionTimeout()) {
             $this->getSessionContext()->destroy();
             $this->getClientProxy()->redirectView($this->_userTimeoutView);
         }
         return $this->dispatchRPC();
     } else {
         return $this->dispatchView();
     }
 }