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;
    }
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;
    }
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 ; }
Used for recording a conversion history record
@param int $destinationID ID of the destination object when converting
@return KapostConversionHistory
Used for recording a conversion history record