pnDBGetTables [aus Modul: pnAPI]
Aufruf
aray = pnDBGetTables();
Aufgabe
Gibt ein assoziatives Array über alle Datenbanktabellen zurück. Die Funktion greift dazu auf das $GLOBALS['pntables']-Array zu.
Ausgabe
Assoziatives Array aller PostNuke-Datenbanktabellen
Beispiel
$tables = pnDBGetTables();
print_r($tables)
/* gibt ein assoziatives Array folgender Art aus
Array
(
…
[blocks] => ite_blocks
[blocks_column] => Array
(
[bid] => ite_blocks.pn_bid
[bkey] => ite_blocks.pn_bkey
[title] => ite_blocks.pn_title
[content] => ite_blocks.pn_content
[url] => ite_blocks.pn_url
[mid] => ite_blocks.pn_mid
[position] => ite_blocks.pn_position
[weight] => ite_blocks.pn_weight
[active] => ite_blocks.pn_active
[refresh] => ite_blocks.pn_refresh
[last_update] => ite_blocks.pn_last_update
[blanguage] => ite_blocks.pn_language
[language] => ite_blocks.pn_language
)
...
)
*/
Modul-/PostNuke-Version
PostNuke 0.762
Siehe auch