Difference between revisions of "VbzCart/archive/code/globals/clsDepts"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | archive‎ | code‎ | globals
Jump to navigation Jump to search
(Created page with "class clsDepts extends {{l/same|clsVbzTable}} { <php> public function __construct($iDB) { parent::__construct($iDB); $this->Name('cat_depts'); $this->KeyName('ID');...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
  $this->ClassSng('clsDept');
 
  $this->ClassSng('clsDept');
 
  $this->ActionKey('dept');
 
  $this->ActionKey('dept');
    }
 
    protected function _newItem() {
 
CallStep('clsDepts._newItem()');
 
return new clsDept($this);
 
 
     }
 
     }
 
</php>
 
</php>
Line 16: Line 12:
 
==References==
 
==References==
 
* {{l/same|clsDept}}
 
* {{l/same|clsDept}}
==Notes==
 
* _newItem() duplicates the functionality of Spawn(), and should probably be removed.
 

Latest revision as of 02:09, 19 December 2014

class clsDepts extends clsVbzTable { <php>

   public function __construct($iDB) {

parent::__construct($iDB); $this->Name('cat_depts'); $this->KeyName('ID'); $this->ClassSng('clsDept'); $this->ActionKey('dept');

   }

</php> }

References