The Red Matrix
|
Functions | |
load_config ($family) | |
get_config ($family, $key) | |
get_config_from_storage ($family, $key) | |
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) | |
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 | |||
) |
Referenced by pdledit_post().
del_xconfig | ( | $xchan, | |
$family, | |||
$key | |||
) |
get_config | ( | $family, | |
$key | |||
) |
Referenced by account_verify_password(), acl_init(), 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(), bbcode(), build_sync_packet(), channel_content(), check_account_admin(), check_account_invite(), check_config(), cli_startup(), create_account(), create_identity(), create_sys_channel(), RedDirectory\createFile(), detect_language(), directory_content(), directory_run(), dirprofile_init(), dirsearch_content(), display_content(), dlogger(), dob(), downgrade_accounts(), editblock_content(), editpost_content(), editwebpage_content(), encode_item(), encode_mail(), events_content(), expire_run(), externals_run(), feature_enabled(), feed_init(), find_upstream_directory(), findpeople_widget(), Item\get_comment_box(), get_default_profile_photo(), get_item_elements(), get_mail_elements(), get_max_import_size(), get_online_status(), RedDirectory\getChild(), RedDirectory\getChildren(), group_content(), home_content(), home_init(), photo_gd\imageString(), import_post(), import_xchan(), invite_content(), invite_post(), item_post(), item_store(), item_store_update(), photo_imagick\load(), logger(), login(), lostpass_content(), lostpass_post(), mark_orphan_hubsxchans(), nav(), navbar_complete(), network_content(), FKOAuthDataStore\new_access_token(), new_channel_post(), new_keypair(), notification(), notifier_run(), oembed_bbcode2html(), openid_content(), parse_url_content(), photo_upload(), photos_content(), photos_init(), poco_init(), poller_run(), post_activity_item(), post_post(), private_messages_fetch_conversation(), private_messages_fetch_message(), private_messages_list(), profile_content(), profile_create_sidebar(), profile_photo_post(), profiles_content(), profperm_content(), pubsites_content(), RedFile\put(), register_content(), register_post(), reload_plugins(), remove_all_xchan_resources(), scale_external_images(), search_content(), send_message(), send_reg_approval_email(), send_verification_email(), service_class_allows(), service_class_fetch(), set_config(), settings_post(), site_default_perms(), siteinfo_content(), smilies(), tag_deliver(), theme_admin(), unobscure(), update_modtime(), update_suggestions(), upgrade_link(), user_allow(), valid_email(), validate_email(), viewconnections_content(), viewconnections_init(), webpages_content(), widget_fullprofile(), widget_profile(), z_fetch_url(), z_post_url(), zfinger_init(), zot_fetch(), zot_import(), and zotfeed_init().
get_config_from_storage | ( | $family, | |
$key | |||
) |
Referenced by set_config().
get_pconfig | ( | $uid, | |
$family, | |||
$key, | |||
$instore = false |
|||
) |
Referenced by Conversation\__construct(), acl_init(), App\build_pagehead(), change_channel(), channel_content(), connect_content(), construct_page(), contact_block(), contact_remove(), conversation(), current_theme(), display_content(), editpost_content(), feature_enabled(), findpeople_widget(), Item\get_comment_box(), get_online_status(), get_theme_uid(), group_content(), home_init(), invite_content(), invite_post(), item_post(), item_store(), item_store_update(), items_fetch(), FKOAuth1\loginUser(), mail_content(), message_content(), network_content(), pdledit_content(), profile_activity(), profile_load(), profile_sidebar(), profperm_content(), remove_community_tag(), rpost_content(), search_content(), set_pconfig(), smilies(), tag_deliver(), theme_content(), and widget_notes().
get_xconfig | ( | $xchan, | |
$family, | |||
$key | |||
) |
Referenced by dir_safe_mode(), directory_content(), set_xconfig(), and toggle_safesearch_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(), cli_startup(), and get_config().
load_pconfig | ( | $uid, | |
$family = '' |
|||
) |
Referenced by conversation(), and get_pconfig().
load_xconfig | ( | $xchan, | |
$family = '' |
|||
) |
Referenced by get_xconfig().
set_config | ( | $family, | |
$key, | |||
$value | |||
) |
set_pconfig | ( | $uid, | |
$family, | |||
$key, | |||
$value | |||
) |
Referenced by connect_post(), invite_post(), notes_init(), pdledit_post(), process_channel_sync_delivery(), register_post(), settings_post(), and theme_post().
set_xconfig | ( | $xchan, | |
$family, | |||
$key, | |||
$value | |||
) |
Referenced by openid_content(), and toggle_safesearch_init().