Accueil Detail objects getData_values
Method getData_values()
Written by Hidalgo Emmanuel   
Description :
               This method turns over a key table/value containing all the values of the object indexed according to the name of the field.
Value of return :
               Turn over a key associative table/value containing the name of the fields in index and their associated values.
 
The following example posts the whole of the properties of a product object :
<?php 

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

//recovery of the product
$oProduit $oBDD->getObject"produits" );
$oProduit->load( 1);

//recovery of all the values of the product
$oValues $oProduit->getData_values();

//posting of the values
foreach( $oValues as $sKey=>$sValue ){
    print( 
$sKey." : ".$sValue."<br/>" );
}

?>