Classes | |
interface | utyDb |
Data Access interface. More... | |
Functions | |
utydb_phpfilename ($dbtype) | |
utydb_create ($dbtype) | |
utydb_types () |
utydb_create | ( | $ | dbtype | ) |
dbtype | (string) one of the supported db types. e.g. 'sqlite' or 'mysql' |
NOTABENE: dbtypes values are ALL LOWERCASE but class names ARE NOT: this function return the result given by utydb_$dbtype_create() defined in each utydb.$dbtype.php file e.g. utydb.sqlite.php => utydb_sqlite_create(), utydb.mysql.php => utydb_mysql_create() (the class name can be retrieved with the php function get_class(<object returned by utydb_create>).
utydb_phpfilename | ( | $ | dbtype | ) |
dbtype | (string) one of the supported db types. e.g. 'sqlite', 'mysql' |
NOTABENE: dbtypes values are ALL LOWERCASE. Filenames are utydb.$dbtype.php all lowercase, e.g. utydb.sqlite.php, utydb.mysql.php. Use this naming convenction if you write another db extension
utydb_types | ( | ) |
NB: dbnames are retrieved listing files in UTILYTY/db that match utydb.*.php and extracting the middle of the filename.
Copyright © 2010 Attilio Pavone - www.utillyty.eu