like('VSName', $param, 'both') ->orlike('VSDesc', $param, 'both') ->findAll(); } else { $rows = $this->findAll(); } return $rows; } }