Method getObjects()
Written by Hidalgo Emmanuel   

Description :

             This Method turns over a table containing a list of objects.

Value of return :

             This Method turns over a table containing unRetourne a table satisfying a list with objects.
             If no element is found, the returned table will be empty.


The following example recovers a list of “users” :

 

<?php 

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

// recover a collection of “users”
$oUsers_col $oBDD->getCollection"users" );
$oUsers_col->load();

// recover the list of the “users”
$oUsers $oUsers_col->getObjects();
?>