Accueil Detail objects getData_infos
Method getData_infos()
Written by Hidalgo Emmanuel   
Description :
               This method turns over a key table/value containing the related informations to the table.
This table contains the name of the table, the name of the primary key and the description of the table.
Value of return :
               Turn over a key associative table/value containing information of the table.
 
The following example posts the name and the primary key of the table of the products :
<?php 

//total instanciation 
include_once( 'phpsimpledb.class.php' );
Global 
$oBDD;
$oBDD = new PHPSIMPLEDB();

//recovery of a “product” object
$oProduit $oBDD->getObject"produits" );

//recovery of information
$oData_table $oProduit->getData_infos();

//posting of information
print( "Table : ".$oData_table"table" ]."<br/>" );
print( 
"Key : ".$oData_table"primarykey" ]."<br/>" );

?>