objectManager for PHP objectManager.class object loadByID(int $id)

Description Loads the object from file using its OID.

Parameters .

Return Values object.

Example use

  1. <? require_once ("objectManager.class.php");
  2. require_once ("example.class.php");
  3. $obMan = new objectManager("example","manager/store/");
  4. $ex = new example();
  5. $ex =$obMan->loadByID(22);
  6. print $ex->getName();?>
.