| 1 | <?php namespace Arcanesoft\Blog\Http\Controllers\Front; |
||
| 11 | abstract class Controller extends BaseController |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Constructor |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | /** |
||
| 18 | * Controller constructor. |
||
| 19 | * |
||
| 20 | * @todo: Refactor this constructor to the core |
||
| 21 | */ |
||
| 22 | public function __construct() |
||
| 28 | |||
| 29 | /* ------------------------------------------------------------------------------------------------ |
||
| 30 | | Other Functions |
||
| 31 | | ------------------------------------------------------------------------------------------------ |
||
| 32 | */ |
||
| 33 | /** |
||
| 34 | * Do random stuff before rendering view. |
||
| 35 | */ |
||
| 36 | protected function beforeViewRender() |
||
| 40 | } |
||
| 41 |