/** * Find All data in the Relational Table * * @param string $field * @param string $value * @return ActiveRecod Cursor */ function find_all_by($field, $value) { ActiveRecord::sql_item_sanizite($field); return $this->find("conditions: {$field} = {$this->db->add_quotes($value)}"); }
/** * Find All data in the Relational Table * * @param string $field * @param string $value * @return ActiveRecord Cursor */ function find_all_by($field, $value) { self::sql_item_sanitize($field); return $this->find("conditions: {$field} = {$this->db->add_quotes($value)}"); }