public function set_stash($stashname, $info, $itemid = 0) {
        try {
            restore_dbops::set_backup_ids_record($this->get_id(), $stashname, $itemid, 0, null, $info);

        } catch (dml_exception $e) {
            throw new moodle1_convert_storage_exception('unable_to_restore_stash', null, $e->getMessage());
        }
    }
public function set_stash($stashname, $info, $itemid = 0) {
        try {
            restore_dbops::set_backup_ids_record($this->get_id(), $stashname, $itemid, 0, null, $info);

        } catch (dml_exception $e) {
            throw new moodle1_convert_storage_exception('unable_to_restore_stash', null, $e->getMessage());
        }
    }
public function set_stash ( $ stashname , $ info , $ itemid = 0 ) { try { restore_dbops :: set_backup_ids_record ( $ this -> get_id ( ) , $ stashname , $ itemid , 0 , null , $ info ) ; } catch ( dml_exception $ e ) { throw new moodle1_convert_storage_exception ( 'unable_to_restore_stash' , null , $ e -> getMessage ( ) ) ; } }
Stores some information for later processing

This implementation uses backup_ids_temp table to store data. Make
sure that the $stashname + $itemid combo is unique.

@param string $stashname name of the stash
@param mixed $info information to stash
@param int $itemid optional id for multiple infos within the same stashname
Stores some information for later processing