original_string: public function get_record($table, array $conditions, $fields='*', $strictness=IGNORE_MISSING) {
          list($select, $params) = $this->where_clause($table, $conditions);
          return $this->get_record_select($table, $select, $params, $fields, $strictness);
      }
code: public function get_record($table, array $conditions, $fields='*', $strictness=IGNORE_MISSING) {
          list($select, $params) = $this->where_clause($table, $conditions);
          return $this->get_record_select($table, $select, $params, $fields, $strictness);
      }
code_tokens: public function get_record ( $ table , array $ conditions , $ fields = '*' , $ strictness = IGNORE_MISSING ) { list ( $ select , $ params ) = $ this -> where_clause ( $ table , $ conditions ) ; return $ this -> get_record_select ( $ table , $ select , $ params , $ fields , $ strictness ) ; }
docstring: Get a single database record as an object where all the given conditions met.
  
  @param string $table The table to select from.
  @param array $conditions optional array $fieldname=>requestedvalue with AND in between
  @param string $fields A comma separated list of fields to be returned from the chosen table.
  @param int $strictness IGNORE_MISSING means compatible mode, false returned if record not found, debug message if more found;
  IGNORE_MULTIPLE means return first, ignore multiple records found(not recommended);
  MUST_EXIST means we will throw an exception if no record or multiple records found.
  
  @todo MDL-30407 MUST_EXIST option should not throw a dml_exception, it should throw a different exception as it's a requested check.
  @return mixed a fieldset object containing the first matching record, false or exception if error not found depending on mode
  @throws dml_exception A DML specific exception is thrown for any errors.
docstring_tokens: Get a single database record as an object where all the given conditions met .