[Phpmyadmin-devel] PAM_List_Databases commited and replaced $dblist

Sebastian Mendel lists at sebastianmendel.de
Fri Sep 22 11:57:56 CEST 2006


Sebastian Mendel schrieb:

variablename:

$PMA_List_Database vs. PMA_Databases

???

what do you prefer?


at first i thought i use $PMA_List_Database to make it visible that this
is an object from the class PMA_List_Database

but this is somehow long, and IF we later introduce some derived classes
like PMA_List_Database_Mysql_5 or something similar the variablename
will not change, it will stay $PMA_List_Database - so there is no hint
on the used class behind this object

whats best?

$pma_databases
$PMA_Databases
$PMA->databases
$databases


-- 
Sebastian Mendel

www.sebastianmendel.de





More information about the Developers mailing list