2012-02-04 00:32:06 +04:00
|
|
|
<?php
|
|
|
|
class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
|
|
|
|
// Create the xml for the user supplied
|
|
|
|
function export($uid){
|
2012-02-04 01:00:12 +04:00
|
|
|
$xml = 'debugfrombookmarks';
|
|
|
|
//$query = OC_DB::prepare("SELECT * FROM *PREFIX*bookmarks WHERE *PREFIX*bookmakrs.user_id = ?");
|
|
|
|
//$bookmarks = $query->execute($uid);
|
|
|
|
//foreach($bookmarks as $bookmark){
|
|
|
|
// $xml .= '<bookmark>';
|
|
|
|
// $xml .='DATA WILL BE HERE';
|
|
|
|
// $xml .= '</bookmark>';
|
|
|
|
//}
|
2012-02-04 00:32:06 +04:00
|
|
|
return $xml;
|
|
|
|
}
|
|
|
|
}
|