blob: 35f01ac11fc1a88a3b1e88a59c1729fb0653011e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Holds the PhpMyAdmin\Controllers\Table\AbstractController
*
* @package PhpMyAdmin\Controllers
*/
declare(strict_types=1);
namespace PhpMyAdmin\Controllers\Table;
use PhpMyAdmin\Controllers\AbstractController as Controller;
use PhpMyAdmin\DatabaseInterface;
use PhpMyAdmin\Response;
use PhpMyAdmin\Template;
/**
* Handles table related logic
*
* @package PhpMyAdmin\Controllers
*/
abstract class AbstractController extends Controller
{
/**
* @var string
*/
protected $db;
/**
* @var string
*/
protected $table;
/**
* Constructor
*
* @param Response $response Response object
* @param DatabaseInterface $dbi DatabaseInterface object
* @param Template $template Template object
* @param string $db Database name
* @param string $table Table name
*/
public function __construct(
$response,
$dbi,
Template $template,
$db,
$table
) {
parent::__construct($response, $dbi, $template);
$this->db = $db;
$this->table = $table;
}
}
|