Total Complexity | 2 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class DashboardController extends CBController |
||
6 | { |
||
7 | |||
8 | function index() |
||
|
|||
9 | { |
||
10 | // todo: translate dashboard |
||
11 | return $this->cbView('crudbooster::dashboard', ['page_title' => '<strong>'.cbTrans('text_dashboard').'</strong>']); |
||
12 | } |
||
13 | |||
14 | public function cbInit() |
||
16 | // TODO: Implement cbInit() method. |
||
17 | } |
||
18 | } |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.