2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * phpMyAdmin main Controller
10 if (! defined('PHPMYADMIN')) {
17 require_once './libraries/List_Database.class.php';
20 * phpMyAdmin main Controller
29 * @var PMA_List_Database
31 protected $databases = null;
38 protected $userlink = null;
45 protected $controllink = null;
48 * magic access to protected/inaccessible members/properties
50 * @param string $param parameter name
53 * @see http://php.net/language.oop5.overloading
55 public function __get($param)
59 return $this->getDatabaseList();
62 return $this->userlink
;
65 return $this->controllink
;
73 * magic access to protected/inaccessible members/properties
75 * @param string $param parameter name
76 * @param mixed $value value to set
79 * @see http://php.net/language.oop5.overloading
81 public function __set($param, $value)
85 $this->userlink
= $value;
88 $this->controllink
= $value;
94 * Accessor to PMA::$databases
96 * @return PMA_List_Databases
98 public function getDatabaseList()
100 if (null === $this->databases
) {
101 $this->databases
= new PMA_List_Database(
107 return $this->databases
;