From 552f03122c9ec066f5728fc4629d155937fd3620 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 22 Apr 2013 20:02:21 -0700 Subject: db abstraction layer --- doc/html/annotated.html | 25 ++- doc/html/annotated.js | 1 - doc/html/boot_8php.html | 6 +- doc/html/classdba__driver-members.html | 3 +- doc/html/classdba__driver.html | 46 ++++- doc/html/classdba__driver.js | 1 + doc/html/classdba__mysql-members.html | 3 +- doc/html/classdba__mysql.html | 4 +- doc/html/classdba__mysqli-members.html | 9 +- doc/html/classdba__mysqli.html | 48 +----- doc/html/classes.html | 16 +- doc/html/datetime_8php.html | 2 +- doc/html/db__update_8php.html | 71 +------- doc/html/dba_8php.html | 161 ------------------ doc/html/dba__driver_8php.html | 203 +++++++++++++++++++++- doc/html/dba__driver_8php.js | 12 ++ doc/html/dir_21bc5169ff11430004758be31dcfc6c4.js | 4 +- doc/html/dir_23ec12649285f9fabf3a6b7380226c28.js | 2 +- doc/html/dir_d44c64559bbebec7f509842c48db8b23.js | 2 +- doc/html/extract_8php.html | 4 +- doc/html/functions.html | 17 +- doc/html/functions_0x5f.html | 8 +- doc/html/functions_0x64.html | 7 +- doc/html/functions_0x65.html | 1 - doc/html/functions_0x67.html | 3 - doc/html/functions_0x69.html | 7 +- doc/html/functions_0x71.html | 1 - doc/html/functions_func.html | 27 ++- doc/html/functions_vars.html | 17 +- doc/html/globals.html | 12 +- doc/html/globals_0x64.html | 13 +- doc/html/globals_0x70.html | 2 +- doc/html/globals_0x71.html | 2 +- doc/html/globals_func_0x64.html | 13 +- doc/html/globals_func_0x70.html | 2 +- doc/html/globals_func_0x71.html | 2 +- doc/html/globals_vars.html | 12 +- doc/html/hierarchy.html | 29 ++-- doc/html/hierarchy.js | 1 - doc/html/language_8php.html | 2 +- doc/html/navtree.js | 8 +- doc/html/navtreeindex1.js | 144 ++++++++-------- doc/html/navtreeindex2.js | 206 +++++++++++------------ doc/html/navtreeindex3.js | 30 ++-- doc/html/navtreeindex4.js | 36 ++-- doc/html/navtreeindex5.js | 30 ++-- doc/html/navtreeindex6.js | 14 -- doc/html/search/all_24.js | 14 +- doc/html/search/all_5f.js | 4 +- doc/html/search/all_64.js | 12 +- doc/html/search/all_65.js | 2 +- doc/html/search/all_67.js | 3 +- doc/html/search/all_69.js | 1 + doc/html/search/all_70.js | 2 +- doc/html/search/all_71.js | 2 +- doc/html/search/classes_64.js | 1 - doc/html/search/functions_5f.js | 4 +- doc/html/search/functions_64.js | 11 +- doc/html/search/functions_65.js | 2 +- doc/html/search/functions_67.js | 1 - doc/html/search/functions_69.js | 1 + doc/html/search/functions_70.js | 2 +- doc/html/search/functions_71.js | 2 +- doc/html/search/variables_24.js | 14 +- doc/html/text_8php.html | 4 +- doc/html/typo_8php.html | 2 + doc/html/typohelper_8php.html | 2 +- include/cli_startup.php | 4 +- include/dba.php | 104 +----------- include/dba/dba_driver.php | 160 ++++++++++++++++++ include/dba/dba_mysql.php | 63 +++++++ include/dba/dba_mysqli.php | 62 +++++++ index.php | 4 +- mod/setup.php | 24 +-- util/db_update.php | 20 +-- util/typo.php | 7 + version.inc | 2 +- 77 files changed, 963 insertions(+), 842 deletions(-) create mode 100644 doc/html/dba__driver_8php.js create mode 100644 include/dba/dba_driver.php create mode 100644 include/dba/dba_mysql.php create mode 100644 include/dba/dba_mysqli.php diff --git a/doc/html/annotated.html b/doc/html/annotated.html index fd894e4ff..f72aed486 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -120,19 +120,18 @@ $(document).ready(function(){initNavTree('annotated.html','');}); oCBaseObject oCCache oCConversation -oCdba -oCdba_driver -oCdba_mysql -oCdba_mysqli -oCenotify -oCFKOAuth1 -oCFKOAuthDataStore -oCFriendicaSmarty -oCItem -oCPhoto -oCProtoDriver -oCTemplate -\CZotDriver +oCdba_driver +oCdba_mysql +oCdba_mysqli +oCenotify +oCFKOAuth1 +oCFKOAuthDataStore +oCFriendicaSmarty +oCItem +oCPhoto +oCProtoDriver +oCTemplate +\CZotDriver diff --git a/doc/html/annotated.js b/doc/html/annotated.js index 72e1a0256..14cabe73d 100644 --- a/doc/html/annotated.js +++ b/doc/html/annotated.js @@ -9,7 +9,6 @@ var annotated = [ "BaseObject", "classBaseObject.html", "classBaseObject" ], [ "Cache", "classCache.html", null ], [ "Conversation", "classConversation.html", "classConversation" ], - [ "dba", "classdba.html", "classdba" ], [ "dba_driver", "classdba__driver.html", "classdba__driver" ], [ "dba_mysql", "classdba__mysql.html", "classdba__mysql" ], [ "dba_mysqli", "classdba__mysqli.html", "classdba__mysqli" ], diff --git a/doc/html/boot_8php.html b/doc/html/boot_8php.html index 5ec983359..49caf864c 100644 --- a/doc/html/boot_8php.html +++ b/doc/html/boot_8php.html @@ -1328,8 +1328,6 @@ Variables
-

Referenced by dba\__construct().

-
@@ -1356,7 +1354,7 @@ Variables
-

Referenced by FriendicaSmarty\__construct(), App\__construct(), acl_init(), admin_page_logs_post(), admin_page_plugins(), admin_page_site(), admin_page_site_post(), admin_page_themes(), admin_page_users_post(), api_content(), api_direct_messages_box(), api_direct_messages_new(), api_favorites(), api_format_messages(), api_get_user(), api_login(), api_post(), api_statuses_f(), api_statuses_home_timeline(), api_statuses_mentions(), api_statuses_public_timeline(), api_statuses_show(), api_statuses_update(), api_statuses_user_timeline(), api_user(), attach_store(), authenticate_success(), bbcode(), bbtoevent(), best_link_url(), App\build_pagehead(), channel_aside(), channel_content(), check_config(), check_form_security_token(), community_content(), connections_aside(), connections_content(), connections_post(), construct_page(), consume_feed(), create_account(), create_identity(), crepair_init(), crepair_post(), current_theme(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), detect_language(), directory_content(), dirfind_init(), dirsearch_content(), encode_rel_links(), events_content(), events_post(), feed_init(), filerm_content(), get_atom_elements(), App\get_baseurl(), get_browser_language(), get_item_elements(), get_max_import_size(), get_my_address(), get_my_url(), get_plink(), get_public_feed(), Item\get_template_data(), group_add(), group_rmv(), hcard_init(), import_post(), import_xchan(), info(), intro_content(), invite_post(), item_post(), item_store(), item_store_update(), lang_selector(), load_contact_links(), local_delivery(), local_user(), lostpass_content(), lrdd(), magic_init(), mail_store(), message_content(), message_post(), mood_content(), mood_init(), nav(), navbar_complete(), network_content(), network_init(), network_query_get_sel_tab(), new_channel_content(), nogroup_init(), notice(), notifications_content(), oexchange_content(), parse_url_content(), photo_upload(), photos_content(), photos_post(), ping_init(), poco_init(), poco_load(), poke_content(), poke_init(), post_activity_item(), printable(), probe_content(), proc_run(), process_delivery(), profile_photo_post(), profile_sidebar(), profile_tabs(), profiles_post(), dba\q(), qsearch_init(), redir_init(), register_content(), register_post(), regmod_content(), remote_user(), removeme_post(), saved_searches(), search_ac_init(), search_content(), search_init(), search_post(), service_class_allows(), service_class_fetch(), App\set_baseurl(), settings_post(), setup_content(), setup_init(), siteinfo_init(), suggest_init(), t(), tagrm_post(), tt(), validate_channelname(), wall_upload_post(), webfinger_content(), wfinger_init(), xchan_content(), z_fetch_url(), and zfinger_init().

+

Referenced by FriendicaSmarty\__construct(), App\__construct(), acl_init(), admin_page_logs_post(), admin_page_plugins(), admin_page_site(), admin_page_site_post(), admin_page_themes(), admin_page_users_post(), api_content(), api_direct_messages_box(), api_direct_messages_new(), api_favorites(), api_format_messages(), api_get_user(), api_login(), api_post(), api_statuses_f(), api_statuses_home_timeline(), api_statuses_mentions(), api_statuses_public_timeline(), api_statuses_show(), api_statuses_update(), api_statuses_user_timeline(), api_user(), attach_store(), authenticate_success(), bbcode(), bbtoevent(), best_link_url(), App\build_pagehead(), channel_aside(), channel_content(), check_config(), check_form_security_token(), community_content(), connections_aside(), connections_content(), connections_post(), construct_page(), consume_feed(), create_account(), create_identity(), crepair_init(), crepair_post(), current_theme(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), detect_language(), directory_content(), dirfind_init(), dirsearch_content(), encode_rel_links(), events_content(), events_post(), feed_init(), filerm_content(), get_atom_elements(), App\get_baseurl(), get_browser_language(), get_item_elements(), get_max_import_size(), get_my_address(), get_my_url(), get_plink(), get_public_feed(), Item\get_template_data(), group_add(), group_rmv(), hcard_init(), import_post(), import_xchan(), info(), intro_content(), invite_post(), item_post(), item_store(), item_store_update(), lang_selector(), load_contact_links(), local_delivery(), local_user(), lostpass_content(), lrdd(), magic_init(), mail_store(), message_content(), message_post(), mood_content(), mood_init(), nav(), navbar_complete(), network_content(), network_init(), network_query_get_sel_tab(), new_channel_content(), nogroup_init(), notice(), notifications_content(), oexchange_content(), parse_url_content(), photo_upload(), photos_content(), photos_post(), ping_init(), poco_init(), poco_load(), poke_content(), poke_init(), post_activity_item(), printable(), probe_content(), proc_run(), process_delivery(), profile_photo_post(), profile_sidebar(), profile_tabs(), profiles_post(), qsearch_init(), redir_init(), register_content(), register_post(), regmod_content(), remote_user(), removeme_post(), saved_searches(), search_ac_init(), search_content(), search_init(), search_post(), service_class_allows(), service_class_fetch(), App\set_baseurl(), settings_post(), setup_content(), setup_init(), siteinfo_init(), suggest_init(), t(), tagrm_post(), tt(), validate_channelname(), wall_upload_post(), webfinger_content(), wfinger_init(), xchan_content(), z_fetch_url(), and zfinger_init().

@@ -2208,7 +2206,7 @@ Variables
-

Referenced by admin_page_dbsync(), admin_page_site_post(), admin_page_users(), allfriends_content(), api_content(), api_post(), apps_content(), attach_init(), authenticate_success(), channel_content(), channel_init(), chanview_content(), check_account_email(), check_account_invite(), check_form_security_std_err_msg(), check_keys(), check_php(), common_content(), common_init(), community_content(), connections_content(), connections_post(), crepair_content(), crepair_post(), delegate_content(), directory_content(), dirfind_content(), display_content(), drop_item(), editpost_content(), events_content(), events_post(), follow_init(), fsuggest_content(), fsuggest_post(), group_add(), group_content(), group_post(), hcard_init(), import_post(), import_xchan(), intro_content(), intro_post(), invite_content(), invite_post(), item_post(), like_content(), load_database(), lostpass_content(), lostpass_post(), magic_init(), manage_content(), match_content(), message_content(), message_post(), mood_content(), network_content(), network_init(), new_channel_content(), new_channel_post(), nogroup_content(), notifications_content(), notifications_post(), oexchange_content(), page_content(), photos_content(), photos_post(), poke_content(), post_init(), profile_content(), profile_init(), profile_load(), profile_photo_post(), profiles_content(), profiles_init(), profiles_post(), profperm_content(), dba\q(), register_content(), register_post(), regmod_content(), search_content(), settings_post(), setup_content(), suggest_content(), tagrm_post(), user_allow(), user_deny(), viewconnections_content(), viewsrc_content(), wall_attach_post(), wall_upload_post(), and xchan_content().

+

Referenced by admin_page_dbsync(), admin_page_site_post(), admin_page_users(), allfriends_content(), api_content(), api_post(), apps_content(), attach_init(), authenticate_success(), channel_content(), channel_init(), chanview_content(), check_account_email(), check_account_invite(), check_form_security_std_err_msg(), check_keys(), check_php(), common_content(), common_init(), community_content(), connections_content(), connections_post(), crepair_content(), crepair_post(), delegate_content(), directory_content(), dirfind_content(), display_content(), drop_item(), editpost_content(), events_content(), events_post(), follow_init(), fsuggest_content(), fsuggest_post(), group_add(), group_content(), group_post(), hcard_init(), import_post(), import_xchan(), intro_content(), intro_post(), invite_content(), invite_post(), item_post(), like_content(), load_database(), lostpass_content(), lostpass_post(), magic_init(), manage_content(), match_content(), message_content(), message_post(), mood_content(), network_content(), network_init(), new_channel_content(), new_channel_post(), nogroup_content(), notifications_content(), notifications_post(), oexchange_content(), page_content(), photos_content(), photos_post(), poke_content(), post_init(), profile_content(), profile_init(), profile_load(), profile_photo_post(), profiles_content(), profiles_init(), profiles_post(), profperm_content(), register_content(), register_post(), regmod_content(), search_content(), settings_post(), setup_content(), suggest_content(), tagrm_post(), user_allow(), user_deny(), viewconnections_content(), viewsrc_content(), wall_attach_post(), wall_upload_post(), and xchan_content().

diff --git a/doc/html/classdba__driver-members.html b/doc/html/classdba__driver-members.html index 15c2b706a..862cf1e02 100644 --- a/doc/html/classdba__driver-members.html +++ b/doc/html/classdba__driver-members.html @@ -121,7 +121,8 @@ $(document).ready(function(){initNavTree('classdba__driver.html','');}); close()dba_driver connect($server, $user, $pass, $db)dba_driver escape($str)dba_driver - q($sql)dba_driver + install($server, $user, $pass, $db)dba_driver + q($sql)dba_driver diff --git a/doc/html/classdba__driver.html b/doc/html/classdba__driver.html index 1e536832c..28954f7fa 100644 --- a/doc/html/classdba__driver.html +++ b/doc/html/classdba__driver.html @@ -135,8 +135,10 @@ Public Member Functions    close ()   - __construct ($server, $user, $pass, $db, $install=false) + __construct ($server, $user, $pass, $db, $install=false)   + install ($server, $user, $pass, $db) +  @@ -293,6 +295,46 @@ Protected Attributes

Public Attributes

+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
dba_driver::install ( $server,
 $user,
 $pass,
 $db 
)
+
+ +

Referenced by __construct().

+
@@ -350,7 +392,7 @@ Protected Attributes
-

Referenced by __construct(), dba_mysqli\connect(), and dba_mysql\connect().

+

Referenced by __construct(), dba_mysqli\connect(), dba_mysql\connect(), and install().

diff --git a/doc/html/classdba__driver.js b/doc/html/classdba__driver.js index 326e7792c..3b3453319 100644 --- a/doc/html/classdba__driver.js +++ b/doc/html/classdba__driver.js @@ -4,6 +4,7 @@ var classdba__driver = [ "close", "classdba__driver.html#a5afa54172f3c837df61643f8f5b2c975", null ], [ "connect", "classdba__driver.html#aebf2911afa540fed40f97fc8f34b6e60", null ], [ "escape", "classdba__driver.html#afc95ffa103a3290581b537670cde5311", null ], + [ "install", "classdba__driver.html#a4ccb27243e62a8ca30dd8e1b8cc67746", null ], [ "q", "classdba__driver.html#a558e738b88ae893cc5d79ffa3793d555", null ], [ "$connected", "classdba__driver.html#a205f6535e399700b6fca2492f96f2229", null ], [ "$db", "classdba__driver.html#a3033b5f1c2716b52202faeaae2592fe6", null ], diff --git a/doc/html/classdba__mysql-members.html b/doc/html/classdba__mysql-members.html index cf7ce6a68..cbd88e963 100644 --- a/doc/html/classdba__mysql-members.html +++ b/doc/html/classdba__mysql-members.html @@ -121,7 +121,8 @@ $(document).ready(function(){initNavTree('classdba__mysql.html','');}); close()dba_mysqlprotected connect($server, $user, $pass, $db)dba_mysqlprotected escape($str)dba_mysqlprotected - q($sql)dba_mysqlprotected + install($server, $user, $pass, $db)dba_driver + q($sql)dba_mysqlprotected diff --git a/doc/html/classdba__mysql.html b/doc/html/classdba__mysql.html index 986001e11..0c82daa47 100644 --- a/doc/html/classdba__mysql.html +++ b/doc/html/classdba__mysql.html @@ -144,8 +144,10 @@ Additional Inherited Members    close ()   - __construct ($server, $user, $pass, $db, $install=false) + __construct ($server, $user, $pass, $db, $install=false)   + install ($server, $user, $pass, $db) +  - Public Attributes inherited from dba_driver  $connected = false   diff --git a/doc/html/classdba__mysqli-members.html b/doc/html/classdba__mysqli-members.html index d806bbcf9..0338ab5cb 100644 --- a/doc/html/classdba__mysqli-members.html +++ b/doc/html/classdba__mysqli-members.html @@ -118,10 +118,11 @@ $(document).ready(function(){initNavTree('classdba__mysqli.html','');}); $driverdba_driverprotected $errordba_driver __construct($server, $user, $pass, $db, $install=false)dba_driver - close()dba_mysqliprotected - connect($server, $user, $pass, $db)dba_mysqliprotected - escape($str)dba_mysqliprotected - q($sql)dba_mysqliprotected + close()dba_mysqli + connect($server, $user, $pass, $db)dba_mysqli + escape($str)dba_mysqli + install($server, $user, $pass, $db)dba_driver + q($sql)dba_mysqli diff --git a/doc/html/classdba__mysqli.html b/doc/html/classdba__mysqli.html index d21bf595d..a21d738f0 100644 --- a/doc/html/classdba__mysqli.html +++ b/doc/html/classdba__mysqli.html @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('classdba__mysqli.html','');});
dba_mysqli Class Reference
@@ -122,8 +122,8 @@ Inheritance diagram for dba_mysqli:
- + @@ -132,9 +132,6 @@ Protected Member Functions -

-Protected Member Functions

+Public Member Functions

 connect ($server, $user, $pass, $db)
 
 q ($sql)
 
 close ()
 
- @@ -144,8 +141,13 @@ Additional Inherited Members - + + + +

-Additional Inherited Members

- Public Member Functions inherited from dba_driver
 connect ($server, $user, $pass, $db)
 
 
 close ()
 
 __construct ($server, $user, $pass, $db, $install=false)
 __construct ($server, $user, $pass, $db, $install=false)
 
 install ($server, $user, $pass, $db)
 
+ @@ -163,9 +165,6 @@ Additional Inherited Members
-

+Additional Inherited Members

- Public Attributes inherited from dba_driver
 $connected = false
 
- - - - -
@@ -174,11 +173,6 @@ Additional Inherited Members
dba_mysqli::close
-
-protected
@@ -186,9 +180,6 @@ Additional Inherited Members
- - - - - -
@@ -220,11 +211,6 @@ Additional Inherited Members
dba_mysqli::connect
-
-protected
@@ -232,9 +218,6 @@ Additional Inherited Members
- - - - - -
@@ -244,11 +227,6 @@ Additional Inherited Members
dba_mysqli::escape
-
-protected
@@ -256,9 +234,6 @@ Additional Inherited Members
- - - - - -
@@ -268,11 +243,6 @@ Additional Inherited Members
dba_mysqli::q
-
-protected
diff --git a/doc/html/classes.html b/doc/html/classes.html index 710695ca7..08d1db1ab 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -119,18 +119,18 @@ $(document).ready(function(){initNavTree('classes.html','');}); App   FKOAuth1   Photo   
  B  
-dba   FKOAuthDataStore   ProtoDriver    -dba_driver   FriendicaSmarty   
  T  
+dba_driver   FKOAuthDataStore   ProtoDriver    +dba_mysql   FriendicaSmarty   
  T  
-BaseObject   dba_mysql   
  I  
+BaseObject   dba_mysqli   
  I  
  C  
-dba_mysqli   Template    -
  E  
-Item   
  Z  
+
  E  
+Template    +Item   
  Z  
-Cache    -enotify   ZotDriver    +Cache   enotify    +ZotDriver   
A | B | C | D | E | F | I | P | T | Z
diff --git a/doc/html/datetime_8php.html b/doc/html/datetime_8php.html index e24d40088..b2f8307b4 100644 --- a/doc/html/datetime_8php.html +++ b/doc/html/datetime_8php.html @@ -332,7 +332,7 @@ Functions
-

Referenced by add_fcontact(), advanced_profile(), age(), api_account_rate_limit_status(), api_date(), api_rss_extra(), atom_entry(), attach_store(), authenticate_success(), cal(), channel_content(), Cache\clear(), consume_feed(), create_account(), create_identity(), crepair_post(), cronhooks_run(), delete_item_lowlevel(), deliver_run(), dlogger(), dob(), ev_compare(), event_store(), events_content(), events_post(), first_post_date(), format_event_diaspora(), format_event_html(), fsuggest_post(), get_atom_elements(), get_birthdays(), get_events(), get_feed_for(), get_first_dim(), get_item_elements(), get_mail_elements(), get_profile_elements(), Item\get_template_data(), import_directory_profile(), invite_post(), item_post(), item_store(), item_store_update(), like_content(), local_delivery(), logger(), FKOAuth1\loginUser(), magic_init(), mail_store(), message_content(), network_content(), new_contact(), new_follower(), notification(), notifier_run(), onepoll_run(), photo_upload(), photos_post(), ping_init(), poco_load(), poller_run(), posted_dates(), profile_photo_post(), profiles_content(), profiles_post(), dba_mysqli\q(), dba_mysql\q(), dba\q(), queue_run(), relative_date(), send_message(), send_reg_approval_email(), Cache\set(), settings_post(), Photo\store(), update_modtime(), update_queue_time(), z_birthday(), zot_feed(), zot_process_response(), zot_refresh(), and zotfeed_init().

+

Referenced by add_fcontact(), advanced_profile(), age(), api_account_rate_limit_status(), api_date(), api_rss_extra(), atom_entry(), attach_store(), authenticate_success(), cal(), channel_content(), Cache\clear(), consume_feed(), create_account(), create_identity(), crepair_post(), cronhooks_run(), delete_item_lowlevel(), deliver_run(), dlogger(), dob(), ev_compare(), event_store(), events_content(), events_post(), first_post_date(), format_event_diaspora(), format_event_html(), fsuggest_post(), get_atom_elements(), get_birthdays(), get_events(), get_feed_for(), get_first_dim(), get_item_elements(), get_mail_elements(), get_profile_elements(), Item\get_template_data(), import_directory_profile(), invite_post(), item_post(), item_store(), item_store_update(), like_content(), local_delivery(), logger(), FKOAuth1\loginUser(), magic_init(), mail_store(), message_content(), network_content(), new_contact(), new_follower(), notification(), notifier_run(), onepoll_run(), photo_upload(), photos_post(), ping_init(), poco_load(), poller_run(), posted_dates(), profile_photo_post(), profiles_content(), profiles_post(), dba_mysqli\q(), dba_mysql\q(), queue_run(), relative_date(), send_message(), send_reg_approval_email(), Cache\set(), settings_post(), Photo\store(), update_modtime(), update_queue_time(), z_birthday(), zot_feed(), zot_process_response(), zot_refresh(), and zotfeed_init().

diff --git a/doc/html/db__update_8php.html b/doc/html/db__update_8php.html index b1f5619ba..b55044bcd 100644 --- a/doc/html/db__update_8php.html +++ b/doc/html/db__update_8php.html @@ -104,8 +104,7 @@ $(document).ready(function(){initNavTree('db__update_8php.html','');});
db_update.php File Reference
@@ -115,75 +114,7 @@ $(document).ready(function(){initNavTree('db__update_8php.html','');}); Namespaces namespace  util   - - - - - - - - - -

-Variables

 $a = new App
 
 $lang = get_best_language()
 
 $db = new dba($db_host, $db_user, $db_pass, $db_data, false)
 
 $build = get_config('system','build')
 
-

Variable Documentation

- -
-
- - - - -
$a = new App
-
- -

Referenced by FriendicaSmarty\__construct(), Item\__construct(), Template\_replcb_if(), Template\_replcb_inc(), _well_known_init(), acl_init(), admin_content(), admin_page_dbsync(), admin_page_logs(), admin_page_logs_post(), admin_page_plugins(), admin_page_site(), admin_page_site_post(), admin_page_summary(), admin_page_themes(), admin_page_users(), admin_page_users_post(), admin_post(), advanced_profile(), allfriends_content(), allowed_email(), allowed_url(), alt_pager(), api_account_verify_credentials(), api_apply_template(), api_call(), api_content(), api_direct_messages_all(), api_direct_messages_box(), api_direct_messages_conversation(), api_direct_messages_inbox(), api_direct_messages_new(), api_direct_messages_sentbox(), api_favorites(), api_followers_ids(), api_format_as(), api_format_items(), api_friends_ids(), api_get_user(), api_item_get_user(), api_login(), api_post(), api_rss_extra(), api_status_show(), api_statuses_destroy(), api_statuses_f(), api_statuses_followers(), api_statuses_friends(), api_statuses_home_timeline(), api_statuses_mediap(), api_statuses_mentions(), api_statuses_public_timeline(), api_statuses_repeat(), api_statuses_show(), api_statuses_update(), api_statuses_user_timeline(), api_statusnet_config(), api_users_show(), apps_content(), atom_entry(), attribute_contains(), authenticate_success(), avatar_img(), bbcode(), best_link_url(), cal(), categories_widget(), channel_aside(), channel_content(), channel_init(), channel_remove(), chanview_content(), check_config(), check_form_security_token(), check_form_security_token_ForbiddenOnErr(), check_form_security_token_redirectOnErr(), check_htaccess(), clean_urls(), cli_startup(), common_aside(), common_content(), common_friends_visitor_widget(), common_init(), community_content(), connections_aside(), connections_content(), connections_init(), connections_post(), construct_page(), consume_feed(), contact_block(), contact_select(), create_identity(), crepair_content(), crepair_init(), crepair_post(), current_theme(), current_theme_url(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), deliver_run(), dfrn_deliver(), directory_aside(), directory_content(), directory_init(), dirfind_content(), dirfind_init(), dirsearch_init(), display_content(), dlogger(), drop_item(), editpost_content(), ev_compare(), event_store(), events_content(), events_post(), expand_acl(), expand_groups(), fbrowser_content(), fetch_url(), fileas_widget(), filer_content(), filerm_content(), findpeople_widget(), fix_private_photos(), follow_init(), format_event_diaspora(), fsuggest_content(), fsuggest_post(), BaseObject\get_app(), get_app(), get_best_language(), get_birthdays(), Item\get_comment_box(), get_config(), get_events(), get_feed_for(), get_form_security_token(), get_max_import_size(), get_pconfig(), get_plink(), Item\get_template_data(), get_theme_screenshot(), get_xconfig(), gprobe_run(), group_aside(), group_content(), group_post(), group_select(), guess_image_type(), handle_tag(), hcard_aside(), hcard_init(), help_content(), hostxrd_init(), import_channel_photo(), import_profile_photo(), info(), intro_aside(), intro_content(), invite_content(), invite_post(), is_site_admin(), item_content(), item_post(), lang_selector(), like_content(), link_compare(), load_config(), load_contact_links(), load_database(), load_pconfig(), load_translation_table(), load_xconfig(), local_delivery(), logger(), login(), login_content(), FKOAuth1\loginUser(), lostpass_content(), lostpass_post(), lrdd(), magic_init(), manual_config(), match_content(), message_aside(), message_content(), message_post(), mood_init(), msearch_post(), nav(), nav_set_selected(), network_content(), network_init(), new_contact(), new_follower(), nogroup_content(), nogroup_init(), notice(), notification(), notifications_content(), notifications_post(), notifier_run(), notify_content(), notify_init(), oembed_fetch_url(), oembed_format_object(), oembed_iframe(), oexchange_content(), oexchange_init(), onepoll_run(), opensearch_init(), page_content(), paginate(), photos_content(), photos_init(), photos_post(), ping_init(), poco_init(), poco_load(), poke_init(), poller_run(), pop_lang(), post_init(), post_url(), preg_heart(), prepare_body(), probe_content(), proc_run(), profile_activity(), profile_aside(), profile_content(), profile_create_sidebar(), profile_init(), profile_load(), profile_photo_aside(), profile_photo_init(), profile_photo_post(), profile_sidebar(), profile_tabs(), profiles_aside(), profiles_content(), profiles_init(), profiles_post(), profperm_aside(), profperm_content(), profperm_init(), push_lang(), dba\q(), queue_run(), randprof_init(), redbasic_form(), redbasic_init(), redir_init(), register_content(), regmod_content(), relative_date(), removeme_content(), removeme_post(), replace_macros(), rmagic_post(), saved_searches(), scale_external_images(), search(), search_ac_init(), search_content(), search_init(), search_post(), send_message(), service_class_allows(), service_class_fetch(), set_config(), Conversation\set_mode(), set_pconfig(), set_xconfig(), settings_aside(), settings_post(), setup_content(), setup_post(), siteinfo_content(), siteinfo_init(), smilies(), subthread_content(), suggest_aside(), suggest_content(), t(), tag_deliver(), tagger_content(), tagrm_content(), tagrm_post(), tags_sort(), terminate_friendship(), tgroup_check(), theme_content(), theme_include(), timezone_cmp(), toggle_mobile_init(), tt(), uexport_init(), update_channel_content(), update_community_content(), update_display_content(), update_network_content(), update_suggestions(), user_allow(), viewconnections_aside(), viewconnections_content(), viewconnections_init(), viewsrc_content(), wall_upload_post(), wfinger_init(), what_next(), xrd_init(), z_fetch_url(), z_path(), z_root(), zid_init(), and zotfeed_init().

- -
-
- -
-
- - - - -
$build = get_config('system','build')
-
- -

Referenced by check_config().

- -
-
- -
-
- - - - -
$db = new dba($db_host, $db_user, $db_pass, $db_data, false)
-
-
- -
-
- - - - -
$lang = get_best_language()
-
-
diff --git a/doc/html/dba_8php.html b/doc/html/dba_8php.html index 82425965e..027f9d105 100644 --- a/doc/html/dba_8php.html +++ b/doc/html/dba_8php.html @@ -103,171 +103,10 @@ $(document).ready(function(){initNavTree('dba_8php.html','');});
-
dba.php File Reference
- - - - -

-Classes

class  dba
 
- - - - - - - - - - - - - - - -

-Functions

 printable ($s)
 
 dbg ($state)
 
 dbesc ($str)
 
 q ($sql)
 
 dbq ($sql)
 
 dbesc_array_cb (&$item, $key)
 
 dbesc_array (&$arr)
 
-

Function Documentation

- -
-
- - - - - - - - -
dbesc ( $str)
-
- -

Referenced by account_verify_password(), acl_init(), add_fcontact(), allowed_public_recips(), api_direct_messages_new(), api_get_user(), api_status_show(), api_statuses_mentions(), api_user(), api_users_show(), attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_store(), authenticate_success(), change_channel(), channel_content(), channelx_by_hash(), channelx_by_n(), channelx_by_nick(), chanview_content(), check_account_email(), check_account_invite(), check_webbie(), Cache\clear(), common_friends(), connections_content(), consume_feed(), contact_remove(), contactgroup_content(), count_common_friends(), create_account(), create_identity(), crepair_post(), dbesc_array_cb(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), delete_imported_item(), delete_item_lowlevel(), deliver_run(), dirsearch_content(), display_content(), editpost_content(), event_store(), events_content(), expand_groups(), fbrowser_content(), feed_init(), fetch_post_tags(), file_tag_file_query(), file_tag_save_file(), file_tag_unsave_file(), filerm_content(), fix_attached_photo_permissions(), fix_contact_ssl_policy(), fix_private_photos(), fix_system_urls(), fsuggest_post(), generate_user_guid(), Cache\get(), get_all_perms(), get_birthdays(), get_config(), get_events(), get_feed_for(), get_pconfig(), get_xconfig(), gprobe_run(), group_add(), group_add_member(), group_byname(), group_content(), group_post(), group_rec_byhash(), group_rmv(), group_rmv_member(), groups_containing(), handle_tag(), import_author_xchan(), import_directory_keywords(), import_directory_profile(), import_post(), import_profile_photo(), import_xchan(), invite_post(), item_message_id(), item_permissions_sql(), item_post(), item_store(), item_store_update(), like_content(), load_config(), load_pconfig(), load_xconfig(), local_delivery(), lockview_content(), FKOAuth1\loginUser(), FKOAuthDataStore\lookup_consumer(), FKOAuthDataStore\lookup_nonce(), FKOAuthDataStore\lookup_token(), lostpass_content(), lostpass_post(), magic_init(), mail_store(), member_of(), msearch_post(), network_content(), network_init(), FKOAuthDataStore\new_access_token(), new_contact(), new_cookie(), new_follower(), FKOAuthDataStore\new_request_token(), notification(), notifications_content(), notifier_run(), notify_init(), oauth_get_client(), onepoll_run(), page_content(), perm_is_allowed(), permissions_sql(), photo_init(), photo_new_resource(), photo_upload(), photos_album_exists(), photos_album_get_db_idstr(), photos_album_rename(), photos_content(), photos_post(), ping_init(), poco_init(), poco_load(), poller_run(), post_init(), post_post(), private_messages_drop(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), process_delivery(), process_mail_delivery(), profile_init(), profile_load(), profile_photo_post(), profiles_init(), profiles_post(), public_permissions_sql(), public_recips(), qsearch_init(), queue_run(), red_zrl_callback(), redir_init(), register_post(), remove_all_xchan_resources(), remove_queue_item(), rmagic_init(), rmagic_post(), search_ac_init(), search_content(), search_init(), send_message(), send_reg_approval_email(), send_status_notifications(), Cache\set(), set_config(), set_pconfig(), set_xconfig(), settings_post(), siteinfo_init(), Photo\store(), store_item_tag(), stringify_array_elms(), subthread_content(), suggest_init(), suggestion_query(), sync_directories(), syncdirs(), tag_deliver(), tagger_content(), tagrm_post(), term_query(), update_modtime(), update_queue_time(), user_allow(), user_deny(), vcard_from_xchan(), wall_attach_post(), wall_upload_post(), wfinger_init(), xchan_content(), xchan_mail_query(), xchan_query(), xrd_init(), z_readdir(), zfinger_init(), zid_init(), zot_finger(), zot_get_hubloc(), zot_gethub(), zot_process_response(), zot_refresh(), and zotfeed_init().

- -
-
- -
-
- - - - - - - - -
dbesc_array ($arr)
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
dbesc_array_cb ($item,
 $key 
)
-
- -
-
- -
-
- - - - - - - - -
dbg ( $state)
-
- -
-
- -
-
- - - - - - - - -
dbq ( $sql)
-
-

Raw db query, no arguments

- -

Referenced by import_post(), item_store(), item_store_update(), local_delivery(), mail_store(), and profiles_init().

- -
-
- -
-
- - - - - - - - -
printable ( $s)
-
- -

Referenced by dba_mysqli\q(), dba_mysql\q(), and dba\q().

- -
-
- -
-
- - - - - - - - -
q ( $sql)
-
-

This will happen occasionally trying to store the session data after abnormal program termination

- -

Referenced by abook_connections(), abook_self(), abook_toggle_flag(), account_total(), account_verify_password(), acl_init(), add_fcontact(), admin_content(), admin_page_dbsync(), admin_page_summary(), admin_page_users(), admin_page_users_post(), all_friends(), allfriends_content(), allowed_public_recips(), api_direct_messages_box(), api_direct_messages_new(), api_favorites(), api_ff_ids(), api_format_items(), api_get_user(), api_status_show(), api_statuses_f(), api_statuses_home_timeline(), api_statuses_mentions(), api_statuses_public_timeline(), api_statuses_repeat(), api_statuses_show(), api_statuses_user_timeline(), api_user(), api_users_show(), attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_store(), authenticate_success(), categories_widget(), change_channel(), channel_content(), channel_remove(), channelx_by_hash(), channelx_by_n(), channelx_by_nick(), chanview_content(), check_account_email(), check_account_invite(), check_config(), check_webbie(), Cache\clear(), collect_recipients(), common_friends(), common_friends_zcid(), common_init(), community_content(), connections_content(), connections_init(), connections_post(), consume_feed(), contact_block(), contact_profile_assign(), contact_remove(), contact_select(), contactgroup_content(), contacts_not_grouped(), count_all_friends(), count_common_friends(), count_common_friends_zcid(), create_account(), create_identity(), crepair_content(), crepair_init(), crepair_post(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), delete_imported_item(), delete_item_lowlevel(), deliver_run(), dfrn_deliver(), directory_run(), dirsearch_content(), display_content(), drop_item(), editpost_content(), encode_item(), event_store(), events_content(), expand_groups(), expire_run(), fbrowser_content(), feed_init(), fetch_post_tags(), file_tag_save_file(), file_tag_unsave_file(), file_tag_update_pconfig(), fileas_widget(), filer_content(), filerm_content(), first_post_date(), fix_attached_photo_permissions(), fix_contact_ssl_policy(), fix_private_photos(), fix_system_urls(), fsuggest_content(), fsuggest_post(), generate_user_guid(), Cache\get(), get_all_perms(), get_birthdays(), get_config(), get_events(), get_feed_for(), get_pconfig(), get_xconfig(), gprobe_run(), group_add(), group_add_member(), group_byname(), group_content(), group_get_members(), group_post(), group_rec_byhash(), group_rmv(), group_rmv_member(), group_select(), group_side(), groups_containing(), handle_tag(), identity_basic_export(), identity_check_service_class(), import_author_xchan(), import_directory_keywords(), import_directory_profile(), import_post(), import_profile_photo(), import_xchan(), intro_content(), intro_post(), invite_post(), item_expire(), item_message_id(), item_post(), item_store(), item_store_update(), like_content(), load_config(), load_contact_links(), load_pconfig(), load_translation_table(), load_xconfig(), local_delivery(), lockview_content(), FKOAuth1\loginUser(), FKOAuthDataStore\lookup_consumer(), FKOAuthDataStore\lookup_nonce(), FKOAuthDataStore\lookup_token(), lose_follower(), lose_sharer(), lostpass_content(), lostpass_post(), magic_init(), mail_store(), manage_content(), match_content(), member_of(), message_content(), mini_group_select(), mood_init(), msearch_post(), network_content(), network_init(), FKOAuthDataStore\new_access_token(), new_contact(), new_cookie(), new_follower(), FKOAuthDataStore\new_request_token(), notification(), notifications_content(), notifications_post(), notifier_run(), notify_content(), notify_init(), oauth_get_client(), onepoll_run(), page_content(), perm_is_allowed(), photo_init(), photo_new_resource(), photo_upload(), photos_album_exists(), photos_album_get_db_idstr(), photos_album_rename(), photos_albums_list(), photos_content(), photos_post(), ping_init(), poco_init(), poco_load(), poke_content(), poke_init(), poller_run(), post_init(), post_post(), private_messages_drop(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), process_delivery(), process_mail_delivery(), profile_content(), profile_init(), profile_load(), profile_photo_post(), profile_sidebar(), profiles_content(), profiles_init(), profiles_post(), profperm_content(), public_recips(), qsearch_init(), queue_run(), random_profile(), red_zrl_callback(), redir_init(), register_content(), register_post(), remove_all_xchan_resources(), remove_queue_item(), rmagic_init(), rmagic_post(), saved_searches(), search_ac_init(), search_content(), search_init(), search_saved_searches(), send_message(), send_reg_approval_email(), send_status_notifications(), service_class_allows(), service_class_fetch(), Cache\set(), set_config(), set_default_login_identity(), set_pconfig(), set_xconfig(), settings_aside(), settings_post(), setup_content(), share_init(), siteinfo_content(), siteinfo_init(), starred_init(), Photo\store(), store_item_tag(), stream_perms_api_uids(), subthread_content(), suggest_init(), suggestion_query(), sync_directories(), syncdirs(), tag_deliver(), tagadelic(), tagger_content(), tagrm_content(), tagrm_post(), tgroup_check(), update_modtime(), update_queue_time(), update_suggestions(), user_allow(), user_deny(), vcard_from_xchan(), viewconnections_content(), viewsrc_content(), wall_attach_post(), wall_upload_post(), wfinger_init(), xchan_content(), xchan_mail_query(), xchan_query(), xrd_init(), z_readdir(), zfinger_init(), zid_init(), zot_feed(), zot_finger(), zot_get_hubloc(), zot_gethub(), zot_import(), zot_process_response(), zot_refresh(), and zotfeed_init().

- -
-
diff --git a/doc/html/dba__driver_8php.html b/doc/html/dba__driver_8php.html index eec5d0cdb..75e9de44a 100644 --- a/doc/html/dba__driver_8php.html +++ b/doc/html/dba__driver_8php.html @@ -104,7 +104,8 @@ $(document).ready(function(){initNavTree('dba__driver_8php.html','');});
+Classes | +Functions
dba_driver.php File Reference
@@ -114,7 +115,207 @@ $(document).ready(function(){initNavTree('dba__driver_8php.html','');}); Classes class  dba_driver   + + + + + + + + + + + + + + + + + +

+Functions

 dba_factory ($server, $user, $pass, $db, $install=false)
 
 printable ($s)
 
 dbg ($state)
 
 dbesc ($str)
 
 q ($sql)
 
 dbq ($sql)
 
 dbesc_array_cb (&$item, $key)
 
 dbesc_array (&$arr)
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
dba_factory ( $server,
 $user,
 $pass,
 $db,
 $install = false 
)
+
+ +

Referenced by cli_startup(), and setup_post().

+ +
+
+ +
+
+ + + + + + + + +
dbesc ( $str)
+
+ +

Referenced by account_verify_password(), acl_init(), add_fcontact(), allowed_public_recips(), api_direct_messages_new(), api_get_user(), api_status_show(), api_statuses_mentions(), api_user(), api_users_show(), attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_store(), authenticate_success(), change_channel(), channel_content(), channelx_by_hash(), channelx_by_n(), channelx_by_nick(), chanview_content(), check_account_email(), check_account_invite(), check_webbie(), Cache\clear(), common_friends(), connections_content(), consume_feed(), contact_remove(), contactgroup_content(), count_common_friends(), create_account(), create_identity(), crepair_post(), dbesc_array_cb(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), delete_imported_item(), delete_item_lowlevel(), deliver_run(), dirsearch_content(), display_content(), editpost_content(), event_store(), events_content(), expand_groups(), fbrowser_content(), feed_init(), fetch_post_tags(), file_tag_file_query(), file_tag_save_file(), file_tag_unsave_file(), filerm_content(), fix_attached_photo_permissions(), fix_contact_ssl_policy(), fix_private_photos(), fix_system_urls(), fsuggest_post(), generate_user_guid(), Cache\get(), get_all_perms(), get_birthdays(), get_config(), get_events(), get_feed_for(), get_pconfig(), get_xconfig(), gprobe_run(), group_add(), group_add_member(), group_byname(), group_content(), group_post(), group_rec_byhash(), group_rmv(), group_rmv_member(), groups_containing(), handle_tag(), import_author_xchan(), import_directory_keywords(), import_directory_profile(), import_post(), import_profile_photo(), import_xchan(), invite_post(), item_message_id(), item_permissions_sql(), item_post(), item_store(), item_store_update(), like_content(), load_config(), load_pconfig(), load_xconfig(), local_delivery(), lockview_content(), FKOAuth1\loginUser(), FKOAuthDataStore\lookup_consumer(), FKOAuthDataStore\lookup_nonce(), FKOAuthDataStore\lookup_token(), lostpass_content(), lostpass_post(), magic_init(), mail_store(), member_of(), msearch_post(), network_content(), network_init(), FKOAuthDataStore\new_access_token(), new_contact(), new_cookie(), new_follower(), FKOAuthDataStore\new_request_token(), notification(), notifications_content(), notifier_run(), notify_init(), oauth_get_client(), onepoll_run(), page_content(), perm_is_allowed(), permissions_sql(), photo_init(), photo_new_resource(), photo_upload(), photos_album_exists(), photos_album_get_db_idstr(), photos_album_rename(), photos_content(), photos_post(), ping_init(), poco_init(), poco_load(), poller_run(), post_init(), post_post(), private_messages_drop(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), process_delivery(), process_mail_delivery(), profile_init(), profile_load(), profile_photo_post(), profiles_init(), profiles_post(), public_permissions_sql(), public_recips(), qsearch_init(), queue_run(), red_zrl_callback(), redir_init(), register_post(), remove_all_xchan_resources(), remove_queue_item(), rmagic_init(), rmagic_post(), search_ac_init(), search_content(), search_init(), send_message(), send_reg_approval_email(), send_status_notifications(), Cache\set(), set_config(), set_pconfig(), set_xconfig(), settings_post(), siteinfo_init(), Photo\store(), store_item_tag(), stringify_array_elms(), subthread_content(), suggest_init(), suggestion_query(), sync_directories(), syncdirs(), tag_deliver(), tagger_content(), tagrm_post(), term_query(), update_modtime(), update_queue_time(), user_allow(), user_deny(), vcard_from_xchan(), wall_attach_post(), wall_upload_post(), wfinger_init(), xchan_content(), xchan_mail_query(), xchan_query(), xrd_init(), z_readdir(), zfinger_init(), zid_init(), zot_finger(), zot_get_hubloc(), zot_gethub(), zot_process_response(), zot_refresh(), and zotfeed_init().

+ +
+
+ +
+
+ + + + + + + + +
dbesc_array ($arr)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
dbesc_array_cb ($item,
 $key 
)
+
+ +
+
+ +
+
+ + + + + + + + +
dbg ( $state)
+
+ +
+
+ +
+
+ + + + + + + + +
dbq ( $sql)
+
+

Raw db query, no arguments

+ +

Referenced by import_post(), item_store(), item_store_update(), local_delivery(), mail_store(), and profiles_init().

+ +
+
+ +
+
+ + + + + + + + +
printable ( $s)
+
+ +

Referenced by dba_mysqli\q(), and dba_mysql\q().

+ +
+
+ +
+
+ + + + + + + + +
q ( $sql)
+
+

This will happen occasionally trying to store the session data after abnormal program termination

+ +

Referenced by abook_connections(), abook_self(), abook_toggle_flag(), account_total(), account_verify_password(), acl_init(), add_fcontact(), admin_content(), admin_page_dbsync(), admin_page_summary(), admin_page_users(), admin_page_users_post(), all_friends(), allfriends_content(), allowed_public_recips(), api_direct_messages_box(), api_direct_messages_new(), api_favorites(), api_ff_ids(), api_format_items(), api_get_user(), api_status_show(), api_statuses_f(), api_statuses_home_timeline(), api_statuses_mentions(), api_statuses_public_timeline(), api_statuses_repeat(), api_statuses_show(), api_statuses_user_timeline(), api_user(), api_users_show(), attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_store(), authenticate_success(), categories_widget(), change_channel(), channel_content(), channel_remove(), channelx_by_hash(), channelx_by_n(), channelx_by_nick(), chanview_content(), check_account_email(), check_account_invite(), check_config(), check_webbie(), Cache\clear(), collect_recipients(), common_friends(), common_friends_zcid(), common_init(), community_content(), connections_content(), connections_init(), connections_post(), consume_feed(), contact_block(), contact_profile_assign(), contact_remove(), contact_select(), contactgroup_content(), contacts_not_grouped(), count_all_friends(), count_common_friends(), count_common_friends_zcid(), create_account(), create_identity(), crepair_content(), crepair_init(), crepair_post(), del_config(), del_pconfig(), del_xconfig(), delegate_content(), delete_imported_item(), delete_item_lowlevel(), deliver_run(), dfrn_deliver(), directory_run(), dirsearch_content(), display_content(), drop_item(), editpost_content(), encode_item(), event_store(), events_content(), expand_groups(), expire_run(), fbrowser_content(), feed_init(), fetch_post_tags(), file_tag_save_file(), file_tag_unsave_file(), file_tag_update_pconfig(), fileas_widget(), filer_content(), filerm_content(), first_post_date(), fix_attached_photo_permissions(), fix_contact_ssl_policy(), fix_private_photos(), fix_system_urls(), fsuggest_content(), fsuggest_post(), generate_user_guid(), Cache\get(), get_all_perms(), get_birthdays(), get_config(), get_events(), get_feed_for(), get_pconfig(), get_xconfig(), gprobe_run(), group_add(), group_add_member(), group_byname(), group_content(), group_get_members(), group_post(), group_rec_byhash(), group_rmv(), group_rmv_member(), group_select(), group_side(), groups_containing(), handle_tag(), identity_basic_export(), identity_check_service_class(), import_author_xchan(), import_directory_keywords(), import_directory_profile(), import_post(), import_profile_photo(), import_xchan(), intro_content(), intro_post(), invite_post(), item_expire(), item_message_id(), item_post(), item_store(), item_store_update(), like_content(), load_config(), load_contact_links(), load_pconfig(), load_translation_table(), load_xconfig(), local_delivery(), lockview_content(), FKOAuth1\loginUser(), FKOAuthDataStore\lookup_consumer(), FKOAuthDataStore\lookup_nonce(), FKOAuthDataStore\lookup_token(), lose_follower(), lose_sharer(), lostpass_content(), lostpass_post(), magic_init(), mail_store(), manage_content(), match_content(), member_of(), message_content(), mini_group_select(), mood_init(), msearch_post(), network_content(), network_init(), FKOAuthDataStore\new_access_token(), new_contact(), new_cookie(), new_follower(), FKOAuthDataStore\new_request_token(), notification(), notifications_content(), notifications_post(), notifier_run(), notify_content(), notify_init(), oauth_get_client(), onepoll_run(), page_content(), perm_is_allowed(), photo_init(), photo_new_resource(), photo_upload(), photos_album_exists(), photos_album_get_db_idstr(), photos_album_rename(), photos_albums_list(), photos_content(), photos_post(), ping_init(), poco_init(), poco_load(), poke_content(), poke_init(), poller_run(), post_init(), post_post(), private_messages_drop(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), process_delivery(), process_mail_delivery(), profile_content(), profile_init(), profile_load(), profile_photo_post(), profile_sidebar(), profiles_content(), profiles_init(), profiles_post(), profperm_content(), public_recips(), qsearch_init(), queue_run(), random_profile(), red_zrl_callback(), redir_init(), register_content(), register_post(), remove_all_xchan_resources(), remove_queue_item(), rmagic_init(), rmagic_post(), saved_searches(), search_ac_init(), search_content(), search_init(), search_saved_searches(), send_message(), send_reg_approval_email(), send_status_notifications(), service_class_allows(), service_class_fetch(), Cache\set(), set_config(), set_default_login_identity(), set_pconfig(), set_xconfig(), settings_aside(), settings_post(), setup_content(), share_init(), siteinfo_content(), siteinfo_init(), starred_init(), Photo\store(), store_item_tag(), stream_perms_api_uids(), subthread_content(), suggest_init(), suggestion_query(), sync_directories(), syncdirs(), tag_deliver(), tagadelic(), tagger_content(), tagrm_content(), tagrm_post(), tgroup_check(), update_modtime(), update_queue_time(), update_suggestions(), user_allow(), user_deny(), vcard_from_xchan(), viewconnections_content(), viewsrc_content(), wall_attach_post(), wall_upload_post(), wfinger_init(), xchan_content(), xchan_mail_query(), xchan_query(), xrd_init(), z_readdir(), zfinger_init(), zid_init(), zot_feed(), zot_finger(), zot_get_hubloc(), zot_gethub(), zot_import(), zot_process_response(), zot_refresh(), and zotfeed_init().

+ +
+
diff --git a/doc/html/dba__driver_8php.js b/doc/html/dba__driver_8php.js new file mode 100644 index 000000000..2189938fa --- /dev/null +++ b/doc/html/dba__driver_8php.js @@ -0,0 +1,12 @@ +var dba__driver_8php = +[ + [ "dba_driver", "classdba__driver.html", "classdba__driver" ], + [ "dba_factory", "dba__driver_8php.html#a69b94daf62f983f7e1338e4e79ddae1e", null ], + [ "dbesc", "dba__driver_8php.html#ab222aa1dbf9ea93b320f82028739127e", null ], + [ "dbesc_array", "dba__driver_8php.html#a65b83462bd26968106aebd43f16540e4", null ], + [ "dbesc_array_cb", "dba__driver_8php.html#af531546fac5f0836a8557a4f6dfee930", null ], + [ "dbg", "dba__driver_8php.html#aa6607893d8f60ade9122bcfbd1a53ffb", null ], + [ "dbq", "dba__driver_8php.html#aa377074e70981e8c4e82ca0accd068ee", null ], + [ "printable", "dba__driver_8php.html#a55bf30d8176967e682656b5be4ad9249", null ], + [ "q", "dba__driver_8php.html#a2c09a731d3b4fef41fed0e83db01be1f", null ] +]; \ No newline at end of file diff --git a/doc/html/dir_21bc5169ff11430004758be31dcfc6c4.js b/doc/html/dir_21bc5169ff11430004758be31dcfc6c4.js index e948e8ab3..7b0143847 100644 --- a/doc/html/dir_21bc5169ff11430004758be31dcfc6c4.js +++ b/doc/html/dir_21bc5169ff11430004758be31dcfc6c4.js @@ -1,8 +1,6 @@ var dir_21bc5169ff11430004758be31dcfc6c4 = [ - [ "dba_driver.php", "dba__driver_8php.html", [ - [ "dba_driver", "classdba__driver.html", "classdba__driver" ] - ] ], + [ "dba_driver.php", "dba__driver_8php.html", "dba__driver_8php" ], [ "dba_mysql.php", "dba__mysql_8php.html", [ [ "dba_mysql", "classdba__mysql.html", "classdba__mysql" ] ] ], diff --git a/doc/html/dir_23ec12649285f9fabf3a6b7380226c28.js b/doc/html/dir_23ec12649285f9fabf3a6b7380226c28.js index 396ae74e1..401e91796 100644 --- a/doc/html/dir_23ec12649285f9fabf3a6b7380226c28.js +++ b/doc/html/dir_23ec12649285f9fabf3a6b7380226c28.js @@ -1,7 +1,7 @@ var dir_23ec12649285f9fabf3a6b7380226c28 = [ [ "fpostit", "dir_0eaa4a0adae8ba4811e133c6e594aeee.html", "dir_0eaa4a0adae8ba4811e133c6e594aeee" ], - [ "db_update.php", "db__update_8php.html", "db__update_8php" ], + [ "db_update.php", "db__update_8php.html", null ], [ "docblox_errorchecker.php", "docblox__errorchecker_8php.html", "docblox__errorchecker_8php" ], [ "extract.php", "extract_8php.html", "extract_8php" ], [ "friendica-to-smarty-tpl.py", "friendica-to-smarty-tpl_8py.html", "friendica-to-smarty-tpl_8py" ], diff --git a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.js b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.js index 4eb6a5fbb..89e536e90 100644 --- a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.js +++ b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.js @@ -27,7 +27,7 @@ var dir_d44c64559bbebec7f509842c48db8b23 = [ "cronhooks.php", "cronhooks_8php.html", "cronhooks_8php" ], [ "crypto.php", "crypto_8php.html", "crypto_8php" ], [ "datetime.php", "datetime_8php.html", "datetime_8php" ], - [ "dba.php", "dba_8php.html", "dba_8php" ], + [ "dba.php", "dba_8php.html", null ], [ "deliver.php", "deliver_8php.html", "deliver_8php" ], [ "dir_fns.php", "dir__fns_8php.html", "dir__fns_8php" ], [ "directory.php", "include_2directory_8php.html", "include_2directory_8php" ], diff --git a/doc/html/extract_8php.html b/doc/html/extract_8php.html index 9ce23c92f..c64f53681 100644 --- a/doc/html/extract_8php.html +++ b/doc/html/extract_8php.html @@ -132,7 +132,7 @@ Variables
-

Referenced by activity_sanitise(), add_fcontact(), api_rss_extra(), array_sanitise(), attach_store(), check_account_admin(), check_account_email(), check_account_invite(), check_account_password(), check_list_permissions(), check_webbie(), connections_content(), construct_page(), contact_block(), contact_select(), create_account(), create_identity(), dbesc_array(), directory_content(), event_store(), feature_enabled(), fetch_xrd_links(), find_xchan_in_array(), get_all_perms(), get_atom_elements(), get_features(), get_item_elements(), get_mail_elements(), get_mood_verbs(), get_poke_verbs(), get_profile_elements(), Item\get_template_data(), get_terms_oftype(), App\get_widgets(), group_select(), identity_basic_import(), ids_to_querystr(), import_directory_profile(), import_post(), import_xchan(), item_getfeedattach(), item_store(), item_store_update(), like_content(), load_database(), lrdd(), magic_init(), mail_store(), mood_init(), network_content(), new_channel_post(), new_contact(), parse_url_content(), perm_is_allowed(), photo_upload(), photos_album_get_db_idstr(), photos_create_item(), photos_post(), ping_init(), po2php_run(), poke_init(), post_activity_item(), post_post(), prepare_body(), proc_run(), process_delivery(), process_mail_delivery(), process_profile_delivery(), profile_activity(), profile_sidebar(), profile_tabs(), profiles_content(), register_post(), send_reg_approval_email(), service_class_allows(), service_class_fetch(), App\set_apps(), settings_post(), sort_by_date(), stringify_array_elms(), subthread_content(), suggest_content(), tagger_content(), tagrm_content(), tagrm_post(), validate_channelname(), wfinger_init(), xchan_mail_query(), xchan_query(), xml2array(), xrd_init(), zfinger_init(), zid(), zid_init(), zot_fetch(), zot_get_hubloc(), zot_gethub(), zot_import(), zot_process_response(), and zot_register_hub().

+

Referenced by activity_sanitise(), add_fcontact(), api_rss_extra(), array_sanitise(), attach_store(), check_account_admin(), check_account_email(), check_account_invite(), check_account_password(), check_list_permissions(), check_webbie(), connections_content(), construct_page(), contact_block(), contact_select(), create_account(), create_identity(), dbesc_array(), directory_content(), event_store(), feature_enabled(), fetch_xrd_links(), find_xchan_in_array(), get_all_perms(), get_atom_elements(), get_features(), get_item_elements(), get_mail_elements(), get_mood_verbs(), get_poke_verbs(), get_profile_elements(), Item\get_template_data(), get_terms_oftype(), App\get_widgets(), group_select(), identity_basic_import(), ids_to_querystr(), import_directory_profile(), import_post(), import_xchan(), item_getfeedattach(), item_store(), item_store_update(), like_content(), load_database(), lrdd(), magic_init(), mail_store(), mood_init(), network_content(), new_channel_post(), new_contact(), parse_url_content(), perm_is_allowed(), photo_upload(), photos_album_get_db_idstr(), photos_create_item(), photos_post(), ping_init(), po2php_run(), poke_init(), post_activity_item(), post_post(), prepare_body(), proc_run(), process_delivery(), process_mail_delivery(), process_profile_delivery(), profile_activity(), profile_sidebar(), profile_tabs(), profiles_content(), register_post(), send_reg_approval_email(), service_class_allows(), service_class_fetch(), App\set_apps(), settings_post(), sort_by_date(), stringify_array_elms(), subthread_content(), suggest_content(), tagger_content(), tagrm_content(), tagrm_post(), validate_channelname(), wfinger_init(), xchan_mail_query(), xchan_query(), xml2array(), xrd_init(), zfinger_init(), zid(), zid_init(), zot_fetch(), zot_get_hubloc(), zot_gethub(), zot_import(), zot_process_response(), and zot_register_hub().

@@ -160,7 +160,7 @@ Variables
-

Referenced by Template\_build_nodes(), Template\_replcb_node(), admin_page_themes(), attribute_contains(), base64url_decode(), base64url_encode(), bb_tag_preg_replace(), bb_translate_video(), bbtoevent(), bbtovcal(), chanlink_hash(), chanlink_url(), datetime_convert(), day_translate(), detect_language(), diaspora2bb(), diaspora_ol(), diaspora_ul(), expand_acl(), fetch_url(), file_tag_decode(), file_tag_encode(), file_tag_file_query(), fix_mce_lf(), fix_private_photos(), format_term_for_display(), get_bb_tag_pos(), get_tags(), html2bb_video(), info(), is_a_date_arg(), legal_webbie(), linkify(), magic_link(), network_to_name(), normalise_openid(), notice(), notifier_run(), oembed_iframe(), oembed_replacecb(), oexchange_content(), parse_xml_string(), photos_post(), poco_load(), post_url(), prepare_body(), printable(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), protect_sprintf(), qp(), random_string(), Template\replace(), replace_macros(), scale_external_images(), search(), App\set_widget(), siteinfo_content(), smilies(), stripdcode_br_cb(), t(), template_escape(), template_unescape(), term_query(), unamp(), undo_post_tagging(), unxmlify(), Template\var_replace(), webfinger(), webfinger_dfrn(), x(), z_fetch_url(), z_post_url(), zfinger_init(), and zid().

+

Referenced by Template\_build_nodes(), Template\_replcb_node(), admin_page_themes(), attribute_contains(), base64url_decode(), base64url_encode(), bb_tag_preg_replace(), bb_translate_video(), bbtoevent(), bbtovcal(), chanlink_hash(), chanlink_url(), datetime_convert(), day_translate(), detect_language(), diaspora2bb(), diaspora_ol(), diaspora_ul(), expand_acl(), fetch_url(), file_tag_decode(), file_tag_encode(), file_tag_file_query(), fix_mce_lf(), fix_private_photos(), format_term_for_display(), get_bb_tag_pos(), get_tags(), html2bb_video(), info(), is_a_date_arg(), legal_webbie(), linkify(), magic_link(), network_to_name(), normalise_openid(), notice(), notifier_run(), oembed_iframe(), oembed_replacecb(), oexchange_content(), parse_xml_string(), photos_post(), poco_load(), post_url(), prepare_body(), printable(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), protect_sprintf(), qp(), random_string(), Template\replace(), replace_macros(), scale_external_images(), search(), App\set_widget(), siteinfo_content(), smilies(), stripdcode_br_cb(), t(), template_escape(), template_unescape(), term_query(), unamp(), undo_post_tagging(), unxmlify(), Template\var_replace(), webfinger(), webfinger_dfrn(), x(), z_fetch_url(), z_post_url(), zfinger_init(), and zid().

diff --git a/doc/html/functions.html b/doc/html/functions.html index 1385d1e13..065d642d2 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -188,7 +188,6 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • $connected : dba_driver -, dba
  • $contact : App @@ -219,14 +218,12 @@ $(document).ready(function(){initNavTree('functions.html','');}); , Item
  • $db -: dba -, App +: App , dba_driver
  • $debug -: dba_driver -, dba -, Template +: Template +, dba_driver
  • $done : Template @@ -237,7 +234,6 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • $error : App , dba_driver -, dba
  • $filename : FriendicaSmarty @@ -290,9 +286,6 @@ $(document).ready(function(){initNavTree('functions.html','');});
  • $module_loaded : App
  • -
  • $mysqli -: dba -
  • $nav_sel : App
  • @@ -427,8 +420,8 @@ $(document).ready(function(){initNavTree('functions.html','');}); : Photo
  • $writable -: Conversation -, Item +: Item +, Conversation
  • diff --git a/doc/html/functions_0x5f.html b/doc/html/functions_0x5f.html index ffd634cdb..6ab2d42b0 100644 --- a/doc/html/functions_0x5f.html +++ b/doc/html/functions_0x5f.html @@ -140,16 +140,14 @@ $(document).ready(function(){initNavTree('functions_0x5f.html','');});
  • __construct() : App , Conversation -, dba -, Photo , FriendicaSmarty -, dba_driver , Item +, dba_driver , FKOAuth1 +, Photo
  • __destruct() -: dba -, Photo +: Photo
  • _build_nodes() : Template diff --git a/doc/html/functions_0x64.html b/doc/html/functions_0x64.html index 8c3060f41..7af70884b 100644 --- a/doc/html/functions_0x64.html +++ b/doc/html/functions_0x64.html @@ -137,9 +137,6 @@ $(document).ready(function(){initNavTree('functions_0x64.html','');});
    Here is a list of all class members with links to the classes they belong to:

    - d -

    diff --git a/doc/html/functions_0x65.html b/doc/html/functions_0x65.html index a0fd62aaf..4dcc3f471 100644 --- a/doc/html/functions_0x65.html +++ b/doc/html/functions_0x65.html @@ -139,7 +139,6 @@ $(document).ready(function(){initNavTree('functions_0x65.html','');});

    - e -

    diff --git a/doc/html/functions_0x71.html b/doc/html/functions_0x71.html index 59c28a683..bbf7826db 100644 --- a/doc/html/functions_0x71.html +++ b/doc/html/functions_0x71.html @@ -139,7 +139,6 @@ $(document).ready(function(){initNavTree('functions_0x71.html','');});

    - q -