og.module

Version 1.628.4.22 (checked in on 2009/08/10 at 20:39:11 by weitzman)

Constants

NameDescription
OG_DIRECTORY_ALWAYS
OG_DIRECTORY_CHOOSE_FALSE
OG_DIRECTORY_CHOOSE_TRUE
OG_DIRECTORY_NEVER
OG_REGISTRATION_ALWAYS
OG_REGISTRATION_CHOOSE_FALSE
OG_REGISTRATION_CHOOSE_TRUE
OG_REGISTRATION_NEVER

Functions

NameDescription
og_all_groups_options
og_approve
og_blockImplementation of hook_block().
og_block_details
og_block_new
og_broadcast_accessAccess callback: og_notifications (or similar) is required for the broadcast tab. Override menu item to amend.
og_clear_group_contextAPI function; Clear the group context for the current request.
og_content_extra_fieldsImplementation of hook_content_extra_fields.
og_delete_subscription
og_deny
og_determine_contextSet group context using the menu system.
og_determine_context_get_groupHelper function; Get an appropriate group node to be set as the group conext.
og_devel_generate
og_exitSet session variable thats used to determine group context when node is in multiple groups. See also og_determine_context().
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_form_node_delete_confirm_alter
og_form_node_type_form_alter
og_get_breadcrumb
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_determine_context().
og_get_node_groups
og_get_node_groups_result
og_get_sql_args
og_get_subscriptionsLoad all memberships for a given user.
og_get_types
og_group_child_nids
og_group_formAdds standard fields for any node configured to be a group node.
og_help
og_home_empty
og_insert_group
og_is_group_admin
og_is_group_memberCheck a user's membership in a group.
og_is_group_post_type
og_is_omitted_type
og_is_picture
og_is_wiki_type
og_list_users_sql
og_load_group
og_mailImplementation of hook_mail().
og_menu
og_menu_access_invite
og_menu_access_node_edit
og_menu_access_unsubscribeCheck if current user may unsubscribe the specified user from the specified group.
og_menu_alter
og_msgid_server
og_nodeapiImplementation of hook_nodeapi().
og_node_delete_confirm_submit
og_node_delete_group_form
og_node_delete_move_memberships
og_node_delete_nongroup_form
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, unless $exclude_joined=FALSE is passed. 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_form_submit
og_ogImplementation of hook_og().
og_og_create_links
og_opml
og_permImplementation of hook_perm().
og_preprocess_nodeEnrich non group nodes with the list og groups that the node belongs to.
og_preprocess_og_missionSimplify $mission variable for the template
og_preprocess_pageMake group context available to javascript for ad tags and analytics.
og_presave_group
og_readme
og_save_ancestry
og_save_subscriptionLow level function for managing membership
og_selective_map
og_set_group_contextAPI function; Set the group context for the current request. Modules may set this as needed. This context is originally set during og_determine_context().
og_set_languageSet the language for the page based on group's language. Will have no effect if user has set a personal language.
og_set_themeAPI function; Set the theme for the current request.
og_subscribe_link
og_theme
og_theme_registry_alter
og_token_listImplementation of hook_token_list() for og specific tokens /*
og_token_valuesImplementation of hook_token_values() for og specific tokens
og_types_map
og_update_group
og_user
og_view_group
og_xmlrpcImplementation of hook_xmlrpc().
theme_og_format_subscriber_status
theme_opml_iconReturn code that emits an XML icon. TODOL: this opml icon belongs in theme.inc
_og_mail_textDefine all OG message strings. Modelled after user.module