og.module

Version 1.459 (checked in on 2008/04/09 at 02:19:48 by weitzman)

Constants

NameDescription
OG_DIRECTORY_ALWAYS
OG_DIRECTORY_CHOOSE_FALSE
OG_DIRECTORY_CHOOSE_TRUE
OG_DIRECTORY_NEVER
OG_NOTIFICATION_ALWAYS
OG_NOTIFICATION_NEVER
OG_NOTIFICATION_SELECTIVE
OG_PRIVATE_GROUPS_ALWAYS
OG_PRIVATE_GROUPS_CHOOSE_FALSE
OG_PRIVATE_GROUPS_CHOOSE_TRUE
OG_PRIVATE_GROUPS_NEVER
OG_REGISTRATION_ALWAYS
OG_REGISTRATION_CHOOSE_FALSE
OG_REGISTRATION_CHOOSE_TRUE
OG_REGISTRATION_NEVER
OG_VISIBLE_BOTH
OG_VISIBLE_CHOOSE_PRIVATE
OG_VISIBLE_CHOOSE_PUBLIC
OG_VISIBLE_GROUPONLY

Functions

NameDescription
og_add_users
og_add_users_submit
og_add_users_validate
og_admin_settings
og_all_groups_options
og_approve
og_blockImplementation of hook_block().
og_block_details
og_block_new
og_block_notifications
og_block_subscribers
og_block_subscribers_listAPI function for retrieving a list of group members. Used by og and og_panels
og_block_users_network
og_comment
og_confirm_subscribeConfirm og membership form
og_confirm_subscribe_submitConfirm og membership submit handler
og_confirm_unsubscribeConfirm og unsubscription form
og_confirm_unsubscribe_submitConfirm og unsubscription submit handler
og_create_admin
og_create_admin_confirmOG create admin form
og_create_admin_confirm_submitConfirm og create admin form
og_db_rewrite_sqlAn implementation of hook_db_rewrite_sql(). Used by other modules to filter nodes to a given group
og_delete_admin
og_delete_subscription
og_deny
og_email_form_submit
og_feedMenu callback. Handle old feed urls with permanent redirect. Hopefully rss readers respect that. Don't bother with the overhead of drupal_goto()
og_form_add_og_audienceHelper method to add OG audience fields to a given form. This is lives in a separate function from og_form_alter() so it can be shared by other OG contrib modules.
og_form_alter
og_get_available_views
og_get_group_contextAPI function for getting the group context (if any) for the current request. Used for things like setting current theme and breadcrumbs. This context is set during og_theme()
og_get_node_groups
og_get_node_groups_result
og_get_sql_args
og_get_subscriptions
og_get_visibility_default
og_group_child_nids
og_group_formAdds standard fields for any node configured to be a group node
og_help
og_home_empty
og_initThis processing cannot happen later in the request because
og_insert_group
og_invite_form
og_invite_form_submit
og_invite_form_validate
og_invite_page
og_is_group_typeAPI function for determining whether a given node type has been designated by admin to behave as a group node (i.e. a container)
og_is_omitted_type
og_is_picture
og_list_users_faces_page
og_list_users_page
og_list_users_sql
og_load_group
og_mailSend this node/comment via email to all email members. Called from og_nodeapi() and og_comment(). Sometimes called from during cron if job_queue.module is enabled (recommended). TODO: this function is a bit messy. rethink.
og_mail_output
og_mail_urls
og_manage
og_manage_form
og_manage_form_submit
og_menu
og_menu_check
og_msgid_server
og_nodeapiImplementation of hook_nodeapi().
og_node_access_explainImplementation of hook_node_access_explain
og_node_access_records
og_node_delete_confirm_submit
og_node_delete_group_form
og_node_delete_nongroup_form
og_node_grants
og_node_groups_distinguishIterate over a set of groups and separate out those that are inaccessible to the current user. Don't return groups of which the current user is a member. Used in og_form_add_og_audience() and node.tpl.php.
og_node_typeAn implementation of hook_node_type. Automatically update admin preferences when node type is renamed or removed.
og_node_type_notify
og_node_viewSimilar to node_view() but without calling theme('node').
og_og_block_details
og_og_create_links
og_opml
og_page_activity
og_permImplementation of hook_perm().
og_readme
og_remove_admin_confirmOG remove admin form
og_remove_admin_confirm_submitConfirm og remove admin form
og_replies_mine
og_requirements
og_save_ancestry
og_save_subscriptionLow level function for managing membership
og_search_form
og_settings_submit
og_set_group_context
og_set_localeLike locale_initialize(), but includes a check for group language and sets accordingly. Priority goes: user => group => site default
og_set_theme
og_submit_group
og_subscribe
og_subscribe_link
og_subscribe_userCreate a new membership for a given user to given group and send proper email. Edits to membership should go through og_save_subscription(). No access control since this is an API function.
og_themeOverride theme based on what group is being displayed (if any). Be smart about selecting the 'active' group for ambigous urls like node/$nid
og_token_listImplementation of hook_token_list() for og specific tokens
og_token_valuesImplementation of hook_token_values() for og specific tokens
og_unsubscribe
og_update_group
og_url_groupHandle '$group' in a URL.
og_user
og_user_title_list
og_view_group
og_xmlrpcImplementation of hook_xmlrpc().
theme_og_format_subscriber_status
theme_og_mission
theme_og_picture_grid
theme_opml_iconReturn code that emits an XML icon. TODO: this belongs in theme.inc
_og_user_mail_textDefine all OG emails Modelled after Drupal's user.module

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.