VbzCart/archive/code/globals/clsDepts: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Created page with "class clsDepts extends {{l/same|clsVbzTable}} { <php> public function __construct($iDB) { parent::__construct($iDB); $this->Name('cat_depts'); $this->KeyName('ID');..."
 
went ahead and removed it
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.

Revision as of 02:04, 21 December 2012

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