objectManager for PHP objectManager.class objectManager

Description The name of the class and the path of the file where it is stored.

Parameters String $classname, string $path .

Return Values none.

Example use

  1. <? $obMan = new objectManager("example","manager/store/");
  2. Important any class must contain an identifier  OID and  the following
  3.  getters and setters.
  4. Without this objectManager cannot keep track of your instance!
  5. class example {
  6. $var oid;
  7. function setOID($int){
  8. $this->oid=$int;
  9. }
  10. function getOID(){
  11. return $this->oid;
  12. }
  13. }?>
.