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 public function __get($param)
52 return $this->getDatabaseList();
55 return $this->userlink
;
58 return $this->controllink
;
66 * magic access to protected/inaccessible members/properties
68 * @see http://php.net/language.oop5.overloading
70 public function __set($param, $value)
74 $this->userlink
= $value;
77 $this->controllink
= $value;
83 * Accessor to PMA::$databases
85 * @uses PMA::$databases
86 * @uses PMA::$userlink
87 * @uses PMA::$controllink
88 * @uses PMA_List_Database
89 * @return PMA_List_Databases
91 public function getDatabaseList()
93 if (null === $this->databases
) {
94 $this->databases
= new PMA_List_Database($this->userlink
, $this->controllink
);
97 return $this->databases
;