These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * Copyright (c) 2013-2016 |
||
4 | * |
||
5 | * @category Library |
||
6 | * @package Dwoo\Adapters\CodeIgniter\controllers |
||
7 | * @author Jordi Boggiano <[email protected]> |
||
8 | * @author David Sanchez <[email protected]> |
||
9 | * @copyright 2008-2013 Jordi Boggiano |
||
10 | * @copyright 2013-2016 David Sanchez |
||
11 | * @license http://dwoo.org/LICENSE Modified BSD License |
||
12 | * @version 1.3.0 |
||
13 | * @date 2016-09-19 |
||
14 | * @link http://dwoo.org/ |
||
15 | */ |
||
16 | |||
17 | class dwoowelcome extends Controller |
||
0 ignored issues
–
show
|
|||
18 | { |
||
19 | public function __construct() |
||
20 | { |
||
21 | parent::Controller(); |
||
0 ignored issues
–
show
|
|||
22 | } |
||
23 | |||
24 | public function index() |
||
25 | { |
||
26 | $this->load->library('Dwootemplate'); |
||
27 | $this->dwootemplate->assign('itshowlate', date('H:i:s')); |
||
28 | $this->dwootemplate->display('dwoowelcome.tpl'); |
||
29 | } |
||
30 | } |
||
31 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.