Doc doxygen
This commit is contained in:
parent
e442c626d8
commit
6745bc8950
@ -675,14 +675,14 @@ class DoliDb
|
|||||||
\brief Liste des tables dans une database.
|
\brief Liste des tables dans une database.
|
||||||
\param database Nom de la database
|
\param database Nom de la database
|
||||||
\param table Nom de la table à rechercher
|
\param table Nom de la table à rechercher
|
||||||
\return resource
|
\return array Tableau des
|
||||||
*/
|
*/
|
||||||
function DDLListTables($database, $table='')
|
function DDLListTables($database, $table='')
|
||||||
{
|
{
|
||||||
$like = '';
|
$like = '';
|
||||||
if ($table) $like = "LIKE '".$table."'"
|
if ($table) $like = "LIKE '".$table."'"
|
||||||
$result = mysqli_query($this->db, "SHOW TABLES FROM ".$database." ".$like." ");
|
$result = mysql_query($this->db, "SHOW TABLES FROM ".$database." ".$like." ");
|
||||||
while($row = mysqli_fetch_array($result))
|
while($row = mysql_fetch_array($result))
|
||||||
{
|
{
|
||||||
$this->results = $row[0];
|
$this->results = $row[0];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -679,12 +679,12 @@ class DoliDb
|
|||||||
\brief Liste des tables dans une database.
|
\brief Liste des tables dans une database.
|
||||||
\param database Nom de la database
|
\param database Nom de la database
|
||||||
\param table Nom de la table à rechercher
|
\param table Nom de la table à rechercher
|
||||||
\return resource
|
\return array Tableau des
|
||||||
*/
|
*/
|
||||||
function DDLListTables($database, $table='')
|
function DDLListTables($database, $table='')
|
||||||
{
|
{
|
||||||
$like = '';
|
$like = '';
|
||||||
if ($table) $like = "LIKE '".$table."'";
|
if ($table) $like = "LIKE '".$table."'"
|
||||||
$result = mysqli_query($this->db, "SHOW TABLES FROM ".$database." ".$like." ");
|
$result = mysqli_query($this->db, "SHOW TABLES FROM ".$database." ".$like." ");
|
||||||
while($row = mysqli_fetch_array($result))
|
while($row = mysqli_fetch_array($result))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user