original_string: public function createConversionHistory($destinationID) {
          $obj=new KapostConversionHistory();
          $obj->Title=$this->Title;
          $obj->KapostChangeType=$this->KapostChangeType;
          $obj->KapostRefID=$this->KapostRefID;
          $obj->KapostAuthor=$this->KapostAuthor;
          $obj->DestinationType=$this->DestinationClass;
          $obj->DestinationID=$destinationID;
          $obj->ConverterName=Member::currentUser()->Name;
          $obj->write();
          
          return $obj;
      }
code: public function createConversionHistory($destinationID) {
          $obj=new KapostConversionHistory();
          $obj->Title=$this->Title;
          $obj->KapostChangeType=$this->KapostChangeType;
          $obj->KapostRefID=$this->KapostRefID;
          $obj->KapostAuthor=$this->KapostAuthor;
          $obj->DestinationType=$this->DestinationClass;
          $obj->DestinationID=$destinationID;
          $obj->ConverterName=Member::currentUser()->Name;
          $obj->write();
          
          return $obj;
      }
code_tokens: public function createConversionHistory ( $ destinationID ) { $ obj = new KapostConversionHistory ( ) ; $ obj -> Title = $ this -> Title ; $ obj -> KapostChangeType = $ this -> KapostChangeType ; $ obj -> KapostRefID = $ this -> KapostRefID ; $ obj -> KapostAuthor = $ this -> KapostAuthor ; $ obj -> DestinationType = $ this -> DestinationClass ; $ obj -> DestinationID = $ destinationID ; $ obj -> ConverterName = Member :: currentUser ( ) -> Name ; $ obj -> write ( ) ; return $ obj ; }
docstring: Used for recording a conversion history record
  @param int $destinationID ID of the destination object when converting
  @return KapostConversionHistory
docstring_tokens: Used for recording a conversion history record