2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * phpMyAdmin main Controller
13 require_once './libraries/List_Database.class.php';
16 * 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 * @param string $param parameter name
49 * @see http://php.net/language.oop5.overloading
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 * @param string $param parameter name
72 * @param mixed $value value to set
75 * @see http://php.net/language.oop5.overloading
77 public function __set($param, $value)
81 $this->userlink
= $value;
84 $this->controllink
= $value;
90 * Accessor to PMA::$databases
92 * @return PMA_List_Databases
94 public function getDatabaseList()
96 if (null === $this->databases
) {
97 $this->databases
= new PMA_List_Database(
103 return $this->databases
;