API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Variables | |
$db = XoopsDatabaseFactory::getDatabaseConnection() | |
$srs = $db->queryF('SHOW TABLE STATUS FROM `' . XOOPS_DB_NAME . '`') | |
if(! $db->getRowsNum($srs)) | $tables = array() |
$prefixes = array() | |
while (false !==( $row_table=$db->fetchArray( $srs))) | |
foreach ( $prefixes as $prefix) | |
$prefixes = array() |
$srs = $db->queryF('SHOW TABLE STATUS FROM `' . XOOPS_DB_NAME . '`') |
if (! $db->getRowsNum( $srs)) $tables = array() |
foreach($prefixes as $prefix) | ( | $prefixes as | ) |
while(false !==($row_table=$db->fetchArray($srs))) | ( | false ! | = = ($row_table = $db->fetchArray($srs)) | ) |