From b69fca14e76a2f5db0cd0924fe5e7056e94771b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 15:49:37 -0800 Subject: initial doco --- doc/html/include_2config_8php.html | 399 +++++++++++++++++++++++++++++++++++++ 1 file changed, 399 insertions(+) create mode 100644 doc/html/include_2config_8php.html (limited to 'doc/html/include_2config_8php.html') diff --git a/doc/html/include_2config_8php.html b/doc/html/include_2config_8php.html new file mode 100644 index 000000000..d6419b49c --- /dev/null +++ b/doc/html/include_2config_8php.html @@ -0,0 +1,399 @@ + + + + + + +The Red Project: include/config.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Project +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
config.php File Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Functions

 load_config ($family)
 
 get_config ($family, $key, $instore=false)
 
 set_config ($family, $key, $value)
 
 load_pconfig ($uid, $family)
 
 get_pconfig ($uid, $family, $key, $instore=false)
 
 del_config ($family, $key)
 
 set_pconfig ($uid, $family, $key, $value)
 
 del_pconfig ($uid, $family, $key)
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
del_config ( $family,
 $key 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
del_pconfig ( $uid,
 $family,
 $key 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
get_config ( $family,
 $key,
 $instore = false 
)
+
+ +

Referenced by Photo\__construct(), admin_page_dbsync(), admin_page_logs(), admin_page_site(), admin_page_summary(), admin_page_themes(), allowed_email(), allowed_url(), api_statuses_mentions(), api_statusnet_config(), attach_store(), channel_content(), check_account_admin(), check_account_invite(), check_config(), cli_startup(), community_content(), create_account(), create_identity(), detect_language(), dfrn_deliver(), directory_content(), directory_run(), dirfind_content(), dirsearch_content(), display_content(), dob(), events_content(), expire_run(), feed_init(), fetch_url(), fetch_xrd_links(), findpeople_widget(), Item\get_comment_box(), group_content(), hcard_init(), hostxrd_init(), Photo\imageString(), import_post(), import_xchan(), invite_content(), invite_post(), login(), lostpass_content(), lostpass_post(), match_content(), nav(), navbar_complete(), FKOAuthDataStore\new_access_token(), new_channel_post(), new_keypair(), notification(), notifier_run(), oembed_bbcode2html(), parse_url_content(), photo_upload(), photos_content(), photos_init(), poco_init(), poller_run(), post_post(), post_url(), proc_run(), profile_content(), profile_create_sidebar(), profile_photo_post(), profiles_content(), profperm_content(), qsearch_init(), register_content(), register_post(), scale_external_images(), search_content(), send_reg_approval_email(), send_verification_email(), service_class_allows(), service_class_fetch(), set_config(), settings_post(), siteinfo_content(), upgrade_link(), user_allow(), validate_email(), viewconnections_aside(), viewconnections_content(), viewconnections_init(), z_fetch_url(), z_post_url(), zfinger_init(), zot_fetch(), zot_import(), zot_refresh(), and zotfeed_init().

+ +
+
+ + + +
+
+ + + + + + + + +
load_config ( $family)
+
+

Arbitrary configuration storage Note: Please do not store booleans - convert to 0/1 integer values The get_?config() functions return boolean false for keys that are unset, and this could lead to subtle bugs.

+

There are a few places in the code (such as the admin panel) where boolean configurations need to be fixed as of 10/08/2011.

+ +

Referenced by api_statusnet_config(), check_config(), and cli_startup().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
load_pconfig ( $uid,
 $family 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
set_config ( $family,
 $key,
 $value 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
set_pconfig ( $uid,
 $family,
 $key,
 $value 
)
+
+
+
+
+ + + + -- cgit v1.2.3