nextcloud/lib/migrate/provider.php

27 lines
516 B
PHP
Raw Normal View History

<?php
/**
* provides search functionalty
*/
abstract class OC_Migrate_Provider{
2012-02-04 01:28:58 +04:00
public $appid;
public function __construct($appid){
$this->appid = $appid;
OC_Migrate::registerProvider($this);
}
//public static $appid;
/**
* exports data for apps
* @param string $uid
* @return string xml data for that app
*/
abstract function export($uid);
/**
* imports data for the app
* @param string $query
* @return array An array of OC_Search_Result's
*/
//abstract function import($data);
}