@@ -200,6 +200,9 @@ discard block |
||
| 200 | 200 | return false; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | + /** |
|
| 204 | + * @param string|boolean $layout |
|
| 205 | + */ |
|
| 203 | 206 | public function setLayout($layout) |
| 204 | 207 | { |
| 205 | 208 | if ($layout === false) { |
@@ -241,6 +244,10 @@ discard block |
||
| 241 | 244 | * @return string processed content |
| 242 | 245 | */ |
| 243 | 246 | //@TODO: come back and clean up this and the way the view receives stuff |
| 247 | + |
|
| 248 | + /** |
|
| 249 | + * @param string|boolean $file |
|
| 250 | + */ |
|
| 244 | 251 | private function process($file) |
| 245 | 252 | { |
| 246 | 253 | ob_start(); |
@@ -195,7 +195,7 @@ |
||
| 195 | 195 | * Set optional status header, and redirect to provided URL |
| 196 | 196 | * |
| 197 | 197 | * @access public |
| 198 | - * @return bool |
|
| 198 | + * @return false|null |
|
| 199 | 199 | */ |
| 200 | 200 | public function redirect($url = '/', $status = null) |
| 201 | 201 | { |