link('state_country_id', func_get_arg(0)) : $this->link('state_country_id'); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE function applyFilters($q, $au) { // DB_DataObject::debugLevel(1); if (!empty($q['query']['state_name'])) { $v = $this->escape($q['query']['state_name']); $this->whereAdd("state_name ILIKE '$v%'"); } } }