objectManager for PHP objectManager.class object insert(object obj)

Description Stores the object.

Parameters .

Return Values object.

Example use

  1. <? Stores the object in the file for the class. Returns the object as it has been given an identifer (OID). This has been auto-incremented by the sytem and must not be changed!
  2. require_once ("objectManager.class.php");
  3. require_once ("example.class.php");
  4. $obMan = new objectManager("example","manager/store/");
  5. $example = new example();
  6. $example->setName("example1");
  7. $example=$obMan->insert($example);?>
.