Example #1
0
 /**
  * Prints the response object to the output stream, thus sending the response to the client
  *
  * @return void
  */
 public function send()
 {
     if ($this->xResponse) {
         foreach ($this->aDebugMessages as $sMessage) {
             $this->xResponse->debug($sMessage);
         }
         $this->aDebugMessages = array();
         $this->xResponse->sendHeaders();
         $this->xResponse->printOutput();
     }
 }