original_string: public function get_records_list($table, $field, array $values, $sort='', $fields='*', $limitfrom=0, $limitnum=0) {
          list($select, $params) = $this->where_clause_list($field, $values);
          return $this->get_records_select($table, $select, $params, $sort, $fields, $limitfrom, $limitnum);
      }
code: public function get_records_list($table, $field, array $values, $sort='', $fields='*', $limitfrom=0, $limitnum=0) {
          list($select, $params) = $this->where_clause_list($field, $values);
          return $this->get_records_select($table, $select, $params, $sort, $fields, $limitfrom, $limitnum);
      }
code_tokens: public function get_records_list ( $ table , $ field , array $ values , $ sort = '' , $ fields = '*' , $ limitfrom = 0 , $ limitnum = 0 ) { list ( $ select , $ params ) = $ this -> where_clause_list ( $ field , $ values ) ; return $ this -> get_records_select ( $ table , $ select , $ params , $ sort , $ fields , $ limitfrom , $ limitnum ) ; }
docstring: Get a number of records as an array of objects where one field match one list of values.
  
  Return value is like {@link function get_records}.
  
  @param string $table The database table to be checked against.
  @param string $field The field to search
  @param array $values An array of values
  @param string $sort Sort order (as valid SQL sort parameter)
  @param string $fields A comma separated list of fields to be returned from the chosen table. If specified,
  the first field should be a unique one such as 'id' since it will be used as a key in the associative
  array.
  @param int $limitfrom return a subset of records, starting at this point (optional).
  @param int $limitnum return a subset comprising this many records in total (optional).
  @return array An array of objects indexed by first column
  @throws dml_exception A DML specific exception is thrown for any errors.
docstring_tokens: Get a number of records as an array of objects where one field match one list of values .