id = $appid;
OC_Migrate::registerProvider( $this );
}
/**
* @brief exports data for apps
* @return array appdata to be exported
*/
abstract function export( );
/**
* @brief imports data for the app
* @return void
*/
abstract function import( );
/**
* @brief sets the OC_Migration_Content object to $this->content
* @param $content a OC_Migration_Content object
*/
public function setData( $uid, $content, $info=null ){
$this->content = $content;
$this->uid = $uid;
$id = $this->id;
if( !is_null( $info ) ){
$this->olduid = $info->exporteduser;
$this->appinfo = $info->apps->$id;
}
}
/**
* @brief returns the appid of the provider
* @return string
*/
public function getID(){
return $this->id;
}
}
e-dav-itip-broker'>3rdparty/stable28/sabre-dav-itip-broker
blob: 799a2c1d21fb966b54b4f60aa64d8cd43511a0e3 (
plain)