VbzCart/archive/code/globals/clsVbzTitles
Jump to navigation
Jump to search
References
- clsVbzTitle
- extends clsVbzTable (which doesn't seem to be in the archive [2022-10-14])
Code
class clsVbzTitles extends clsVbzTable {
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;
}
}