3 * Enter description here...
11 require_once './libraries/List_Database.class.php';
14 * phpMyAdmin main Controller
25 * @var PMA_List_Database
27 protected $databases = null;
34 protected $userlink = null;
41 protected $controllink = null;
44 * magic access to protected/inaccessible members/properties
46 * @see http://php.net/language.oop5.overloading
48 * @param string $param
51 public function __get($param)
55 return $this->getDatabaseList();
58 return $this->userlink
;
61 return $this->controllink
;
69 * magic access to protected/inaccessible members/properties
71 * @see http://php.net/language.oop5.overloading
73 * @param string $param
76 public function __set($param, $value)
80 $this->userlink
= $value;
83 $this->controllink
= $value;
89 * Accessor to PMA::$databases
91 * @return PMA_List_Databases
93 public function getDatabaseList()
95 if (null === $this->databases
) {
96 $this->databases
= new PMA_List_Database($this->userlink
, $this->controllink
);
99 return $this->databases
;