![]() |
The Hubzilla
|
Functions | |
| import_channel ($channel, $account_id, $seize) | |
| Import a channel. More... | |
| import_config ($channel, $configs) | |
| Import pconfig for channel. More... | |
| import_profiles ($channel, $profiles) | |
| Import profiles. More... | |
| import_hublocs ($channel, $hublocs, $seize, $moving=false) | |
| Import hublocs. More... | |
| import_objs ($channel, $objs) | |
| Import things. More... | |
| sync_objs ($channel, $objs) | |
| Import things. More... | |
| import_apps ($channel, $apps) | |
| Import apps. More... | |
| sync_apps ($channel, $apps) | |
| Sync apps. More... | |
| import_chatrooms ($channel, $chatrooms) | |
| Import chatrooms. More... | |
| sync_chatrooms ($channel, $chatrooms) | |
| Sync chatrooms. More... | |
| import_items ($channel, $items, $sync=false, $relocate=null) | |
| Import items to channel. More... | |
| sync_items ($channel, $items, $relocate=null) | |
| Sync items to channel. More... | |
| import_item_ids ($channel, $itemids) | |
| import_events ($channel, $events) | |
| Import events. More... | |
| sync_events ($channel, $events) | |
| Sync events. More... | |
| import_menus ($channel, $menus) | |
| Import menus. More... | |
| sync_menus ($channel, $menus) | |
| Sync menus. More... | |
| import_likes ($channel, $likes) | |
| Import likes. More... | |
| import_conv ($channel, $convs) | |
| import_mail ($channel, $mails, $sync=false) | |
| Import mails. More... | |
| sync_mail ($channel, $mails) | |
| Synchronise mails. More... | |
| sync_files ($channel, $files) | |
| Synchronise files. More... | |
| convert_oldfields (&$arr, $old, $new) | |
| Rename a key in an array. More... | |
| scan_webpage_elements ($path, $type, $cloud=false) | |
| import_webpage_element ($element, $channel, $type) | |
| get_webpage_elements ($channel, $type= 'all') | |
| create_zip_file ($files=array(), $destination= '', $overwrite=false) | |
| Create a compressed zip file. More... | |
| convert_oldfields | ( | & | $arr, |
| $old, | |||
| $new | |||
| ) |
Rename a key in an array.
Replaces $old key with $new key in $arr.
| [in,out] | array | &$arr | The array where to work on |
| string | $old | The old key in the array | |
| string | $new | The new key in the array |
Referenced by import_events(), import_profiles(), sync_events(), and sync_files().
| create_zip_file | ( | $files = array(), |
|
$destination = '', |
|||
$overwrite = false |
|||
| ) |
Create a compressed zip file.
| array | $files | List of files to put in zip file |
| string | $destination | |
| boolean | $overwrite |
| get_webpage_elements | ( | $channel, | |
$type = 'all' |
|||
| ) |
Referenced by Zotlabs\Module\Webpages\get().
| import_apps | ( | $channel, | |
| $apps | |||
| ) |
Import apps.
| array | $channel | |
| array | $apps |
Referenced by Zotlabs\Module\Import\import_account().
| import_channel | ( | $channel, | |
| $account_id, | |||
| $seize | |||
| ) |
Import a channel.
| array | $channel | |
| int | $account_id | |
| int | $seize |
Referenced by Zotlabs\Module\Import\import_account().
| import_chatrooms | ( | $channel, | |
| $chatrooms | |||
| ) |
Import chatrooms.
| array | $channel | |
| array | $chatrooms |
Referenced by Zotlabs\Module\Import\import_account().
| import_config | ( | $channel, | |
| $configs | |||
| ) |
Import pconfig for channel.
| array | $channel | |
| array | $configs |
Referenced by Zotlabs\Module\Import\import_account().
| import_conv | ( | $channel, | |
| $convs | |||
| ) |
Referenced by Zotlabs\Module\Import\import_account(), and process_channel_sync_delivery().
| import_events | ( | $channel, | |
| $events | |||
| ) |
Import events.
| array | $channel | |
| array | $events |
Referenced by Zotlabs\Module\Import\import_account().
| import_hublocs | ( | $channel, | |
| $hublocs, | |||
| $seize, | |||
$moving = false |
|||
| ) |
Import hublocs.
| array | $channel | |
| array | $hublocs | |
| unknown | $seize | |
| boolean | $moving | (optional) default false |
Referenced by Zotlabs\Module\Import\import_account().
| import_item_ids | ( | $channel, | |
| $itemids | |||
| ) |
| array | $channel | A channel array. |
| array | $itemids |
Referenced by Zotlabs\Module\Import\import_account(), and Zotlabs\Module\Import_items\post().
| import_items | ( | $channel, | |
| $items, | |||
$sync = false, |
|||
$relocate = null |
|||
| ) |
Import items to channel.
| array | $channel | where to import to |
| array | $items | |
| boolean | $sync | default false |
| array | $relocate | default null |
Referenced by Zotlabs\Module\Import\import_account(), Zotlabs\Module\Import_items\post(), and sync_items().
| import_likes | ( | $channel, | |
| $likes | |||
| ) |
Import likes.
| array | $channel | |
| array | $likes |
Referenced by Zotlabs\Module\Import\import_account(), and process_channel_sync_delivery().
| import_mail | ( | $channel, | |
| $mails, | |||
$sync = false |
|||
| ) |
Import mails.
| array | $channel | |
| array | $mails | |
| boolean | $sync | (optional) default false |
Referenced by Zotlabs\Module\Import\import_account(), and sync_mail().
| import_menus | ( | $channel, | |
| $menus | |||
| ) |
Import menus.
| array | $channel | |
| array | $menus |
Referenced by Zotlabs\Module\Import\import_account().
| import_objs | ( | $channel, | |
| $objs | |||
| ) |
Import things.
| array | $channel | |
| array | $objs |
Referenced by Zotlabs\Module\Import\import_account().
| import_profiles | ( | $channel, | |
| $profiles | |||
| ) |
Import profiles.
| array | $channel | |
| array | $profiles |
Referenced by Zotlabs\Module\Import\import_account().
| import_webpage_element | ( | $element, | |
| $channel, | |||
| $type | |||
| ) |
Referenced by Zotlabs\Module\Webpages\post().
| scan_webpage_elements | ( | $path, | |
| $type, | |||
$cloud = false |
|||
| ) |
Referenced by Zotlabs\Module\Webpages\post().
| sync_apps | ( | $channel, | |
| $apps | |||
| ) |
| sync_chatrooms | ( | $channel, | |
| $chatrooms | |||
| ) |
Sync chatrooms.
| array | $channel | |
| array | $chatrooms |
Referenced by process_channel_sync_delivery().
| sync_events | ( | $channel, | |
| $events | |||
| ) |
| sync_files | ( | $channel, | |
| $files | |||
| ) |
Synchronise files.
| array | $channel | |
| array | $files |
Referenced by process_channel_sync_delivery().
| sync_items | ( | $channel, | |
| $items, | |||
$relocate = null |
|||
| ) |
Sync items to channel.
| array | $channel | where to import to |
| array | $items | |
| array | $relocate | default null |
Referenced by process_channel_sync_delivery(), and sync_files().
| sync_mail | ( | $channel, | |
| $mails | |||
| ) |
Synchronise mails.
| array | $channel | |
| array | $mails |
Referenced by process_channel_sync_delivery().
| sync_menus | ( | $channel, | |
| $menus | |||
| ) |
| sync_objs | ( | $channel, | |
| $objs | |||
| ) |