");
}
+ if (!empty($q['query']['name'])) {
+ //DB_DAtaObject::debugLevel(1);
+
+ $this->whereAdd("lval LIKE '". $this->escape($q['query']['name']). "%'");
+ }
}
while ($this->fetch()) {
$ret[] = array(
'code' => $this->code,
- 'title' => $this->title);
+ 'title' => $this->title
+ );
}
return $ret;
}
$list = $this->availableCodes($ltype);
-
+ //print_r($list);
foreach($list as $lkey) {
// skip ones we know we have done...
if (in_array($lkey, $complete)) {