| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Tag extends AdminController{ |
||
| 11 | |||
| 12 | protected $siteConfig; |
||
| 13 | protected $pagination; |
||
| 14 | |||
| 15 | private $tagModel; |
||
| 16 | |||
| 17 | public function __construct(Container $container) |
||
| 18 | { |
||
| 19 | $this->loadModules[] = 'SiteConfig'; |
||
| 20 | $this->loadModules[] = 'pagination'; |
||
| 21 | parent::__construct($container); |
||
| 22 | |||
| 23 | $this->tagModel = new TagModel($this->container); |
||
| 24 | |||
| 25 | $this->data['configs'] = $this->siteConfig->getSiteConfig(); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function list(string $page = "page-1", int $linesPerPage = Constant::LIST_PER_PAGE) |
||
| 42 | } |
||
| 43 | } |