The Red Project
|
Functions | |
load_config ($family) | |
get_config ($family, $key, $instore=false) | |
set_config ($family, $key, $value) | |
del_config ($family, $key) | |
load_pconfig ($uid, $family) | |
get_pconfig ($uid, $family, $key, $instore=false) | |
set_pconfig ($uid, $family, $key, $value) | |
del_pconfig ($uid, $family, $key) | |
load_xconfig ($xchan, $family) | |
get_xconfig ($xchan, $family, $key, $instore=false) | |
set_xconfig ($xchan, $family, $key, $value) | |
del_xconfig ($xchan, $family, $key) | |
del_config | ( | $family, | |
$key | |||
) |
Referenced by admin_page_site_post(), and FKOAuthDataStore\new_access_token().
del_pconfig | ( | $uid, | |
$family, | |||
$key | |||
) |
del_xconfig | ( | $xchan, | |
$family, | |||
$key | |||
) |
get_config | ( | $family, | |
$key, | |||
$instore = false |
|||
) |
Referenced by 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(), dlogger(), 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_gd\imageString(), import_post(), import_xchan(), invite_content(), invite_post(), photo_imagick\load(), logger(), 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(), smilies(), upgrade_link(), user_allow(), valid_email(), 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().
get_pconfig | ( | $uid, | |
$family, | |||
$key, | |||
$instore = false |
|||
) |
Referenced by App\build_pagehead(), channel_aside(), community_content(), contact_block(), contact_remove(), feature_enabled(), file_tag_save_file(), file_tag_unsave_file(), file_tag_update_pconfig(), findpeople_widget(), Item\get_comment_box(), group_content(), intro_content(), invite_content(), invite_post(), item_expire(), item_store(), item_store_update(), FKOAuth1\loginUser(), message_content(), network_content(), network_init(), notifications_content(), profile_activity(), profperm_content(), set_pconfig(), smilies(), and theme_content().
get_xconfig | ( | $xchan, | |
$family, | |||
$key, | |||
$instore = false |
|||
) |
Referenced by set_xconfig().
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 | |||
) |
load_xconfig | ( | $xchan, | |
$family | |||
) |
set_config | ( | $family, | |
$key, | |||
$value | |||
) |
set_pconfig | ( | $uid, | |
$family, | |||
$key, | |||
$value | |||
) |
set_xconfig | ( | $xchan, | |
$family, | |||
$key, | |||
$value | |||
) |