original_string: public function set_attributes($type, $fields, $reftable=null, $reffields=null) {
          $this->type = $type;
          $this->fields = $fields;
          $this->reftable = $reftable;
          $this->reffields = empty($reffields) ? array() : $reffields;
      }
code: public function set_attributes($type, $fields, $reftable=null, $reffields=null) {
          $this->type = $type;
          $this->fields = $fields;
          $this->reftable = $reftable;
          $this->reffields = empty($reffields) ? array() : $reffields;
      }
code_tokens: public function set_attributes ( $ type , $ fields , $ reftable = null , $ reffields = null ) { $ this -> type = $ type ; $ this -> fields = $ fields ; $ this -> reftable = $ reftable ; $ this -> reffields = empty ( $ reffields ) ? array ( ) : $ reffields ; }
docstring: Set all the attributes of one xmldb_key
  
  @param string $type XMLDB_KEY_[PRIMARY|UNIQUE|FOREIGN|FOREIGN_UNIQUE]
  @param array $fields an array of fieldnames to build the key over
  @param string $reftable name of the table the FK points to or null
  @param array $reffields an array of fieldnames in the FK table or null
docstring_tokens: Set all the attributes of one xmldb_key