VbzCart/docs/archive/code/globals/clsVbzTitles

From Woozle Writes Code
< VbzCart‎ | docs‎ | archive‎ | code‎ | globals
Revision as of 02:14, 21 December 2012 by imported>Woozle (Created page with "class clsVbzTitles extends {{l/same|clsVbzTable}} { <php> public function __construct($iDB) { parent::__construct($iDB); $this->Name('cat_titles'); $this->KeyName('...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

class clsVbzTitles extends clsVbzTable { <php>

   public function __construct($iDB) {

parent::__construct($iDB); $this->Name('cat_titles'); $this->KeyName('ID'); $this->ClassSng('clsVbzTitle');

   }
   public function Search_forText_SQL($iFind) {

return '(Name LIKE "%'.$iFind.'%") OR (`Desc` LIKE "%'.$iFind.'%")';

   }
   public function Search_forText($iFind) {

$sqlFilt = $this->Search_forText_SQL($iFind); $rs = $this->GetData($sqlFilt); return $rs;

   }

</php> }