original_string: public function set_field($table, $newfield, $newvalue, array $conditions=null) {
          list($select, $params) = $this->where_clause($table, $conditions);
          return $this->set_field_select($table, $newfield, $newvalue, $select, $params);
      }
code: public function set_field($table, $newfield, $newvalue, array $conditions=null) {
          list($select, $params) = $this->where_clause($table, $conditions);
          return $this->set_field_select($table, $newfield, $newvalue, $select, $params);
      }
code_tokens: public function set_field ( $ table , $ newfield , $ newvalue , array $ conditions = null ) { list ( $ select , $ params ) = $ this -> where_clause ( $ table , $ conditions ) ; return $ this -> set_field_select ( $ table , $ newfield , $ newvalue , $ select , $ params ) ; }
docstring: Set a single field in every table record where all the given conditions met.
  
  @param string $table The database table to be checked against.
  @param string $newfield the field to set.
  @param string $newvalue the value to set the field to.
  @param array $conditions optional array $fieldname=>requestedvalue with AND in between
  @return bool true
  @throws dml_exception A DML specific exception is thrown for any errors.
docstring_tokens: Set a single field in every table record where all the given conditions met .