コード例 #1
0
 public function body($content = NULL)
 {
     if ($content === NULL) {
         if ($this->_body === '' && in_array($this->_status, [200, 403, 404])) {
             $this->_body = $this->view->render();
         }
         return $this->_body;
     }
     return parent::body($content);
 }