function getWayQuery($table) { return parent::getWayQuery($table) . " AND name ILIKE '%" . $this->name . "%'"; }