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

From Woozle Writes Code
< VbzCart‎ | docs‎ | archive‎ | code‎ | globals
Jump to navigation Jump to search
imported>Woozle
(Created page with "class clsDepts extends {{l/same|clsVbzTable}} { <php> public function __construct($iDB) { parent::__construct($iDB); $this->Name('cat_depts'); $this->KeyName('ID');...")
 
imported>Woozle
(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