<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Holds the PMA\TableController * * @package PMA */ namespace PMA\libraries\controllers; use PMA\libraries\DatabaseInterface; use PMA\libraries\di\Container; use PMA\libraries\Response; require_once 'libraries/database_interface.inc.php'; /** * Base class for all of controller * * @package PhpMyAdmin */ abstract class Controller { /** * @var Response */ protected $response; /** * @var DatabaseInterface */ protected $dbi; /** * @var \PMA\libraries\di\Container */ protected $container; /** * Constructor */ public function __construct() { $container = Container::getDefaultContainer(); $this->container = $container; $this->dbi = $this->container->get('dbi'); $this->response = $this->container->get('response'); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
database | Folder | 0755 |
|
|
server | Folder | 0755 |
|
|
table | Folder | 0755 |
|
|
Controller.php | File | 899 B | 0644 |
|
DatabaseController.php | File | 494 B | 0644 |
|
TableController.php | File | 605 B | 0644 |
|