コード例 #1
0
 /**
  * 
  *
  * @return MErrorViewController
  */
 public function __construct($responseCode, MNumber $errorCode = null, MString $errorName = null, MString $errorDescription = null)
 {
     MAssertTypes('int', $responseCode);
     parent::__construct();
     $this->setResponseCode($responseCode);
     $this->errorView = new MHTMLErrorDocumentView($errorCode, $errorName, $errorDescription);
     $this->setView($this->errorView);
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
 }