Method delete( $bDeleteCollections = false )
Written by Hidalgo Emmanuel   

Description :

              The suppression of the objects of a collection allows.

Parameter :

              $bDeleteCollection (optional), Boolean: This parameter allows the release of
              the suppression of the objects in cascade,
              all the collections of the objects children will be they also removed
              (attention, the concept of level of suppression does not exist).

Value of return :

              No parameter of return.


The following example removes the list of the “users” having a level of authorization equalizes to 0 :

<?php 

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

// recover all the “users” with “level = 0”
$oUsers_col $oBDD->getCollection"users" );
$oUsers_col->load"level = 0" );

// remove the “users”
$oUsers_col->delete();
?>