Version 1.134.2.11 (checked in on 2010/03/01 at 01:55:33 by agentken)
Core module functions for the Domain Access suite. @ingroup domain
| Name | Description |
|---|---|
| DOMAIN_ASSIGN_USERS | Defines whether to assign users to the default domain on install. You may alter this variable before installing the module. See README.txt. |
| DOMAIN_INSTALL_RULE | Defines how to handle access permissions when installing the module. You may alter this variable before installing the module. See README.txt. |
| DOMAIN_LIST_SIZE | Sets a default value at which to start paginating Domain lists. |
| DOMAIN_SITE_GRANT | Defines whether to show affiliated content on all domains. You may alter this variable before installing the module. See README.txt. |
| Name | Description |
|---|---|
| domain_api | Helper function for passing hook_domainload() by reference. |
| domain_batch_validate | Validate handler for hook_domainbatch() |
| domain_block | Implement hook_block() |
| domain_boot | Adds the domain user data to the $user object. |
| domain_bootstrap_register | Register the modules needed to load during bootstrap. Stores results in the 'domain_bootstrap_modules' variable. |
| domain_bootstrap_unregister | Removes a module so it is not loaded during domain_bootstrap. |
| domain_check_primary | Check to see if a redirect to the primary domain is needed. |
| domain_content_extra_fields | Implement hook_content_extra_fields() |
| domain_cron | Implement hook_cron() |
| domain_db_rewrite_sql | Implement hook_db_rewrite_sql(). |
| domain_default | Assigns the default settings to domain 0, the root domain. |
| domain_domainbatch | Implement hook_domainbatch() |
| domain_domainignore | Implement hook_domainignore(). |
| domain_domaininstall | Implement hook_domaininstall() |
| domain_domainload | Implement hook_domainload() |
| domain_domains | Return all active domains (including the default) as an array. |
| domain_domainupdate | Implement hook_domainupdate() |
| domain_enable | Upon enabling this module, store the default view grant in the {node_access} table. Then it assigns all users to the primary domain. |
| domain_form_alter | Implement hook_form_alter() |
| domain_form_devel_generate_content_form_alter | Add settings to devel generate module. |
| domain_form_perm | Check a user's permissions for displaying the Domain form on nodes. |
| domain_form_sitename_submit | FormsAPI submit handler to track site name changes. |
| domain_form_system_site_information_settings_alter | Update the default domain's sitename. |
| domain_form_user_admin_account_alter | Implement hook_form_alter(). |
| domain_get_domain | Return the currently active domain. |
| domain_get_node_domains | Get the domains for a node. |
| domain_get_node_match | Get the best matching domain for a node link. |
| domain_get_path | Determine an absolute path for a domain |
| domain_get_path_match | Allow the lookup of path rewrites. |
| domain_get_uri | Determine an absolute path to the current page |
| domain_get_user_domains | Get the domains a user is assigned to. |
| domain_goto | Determine if we must switch the active domain. |
| domain_grant_all | Activate the hidden grant for searches. |
| domain_init | Implement hook_init(). |
| domain_invalid_domain_requested | Redirect a request to an invalid domain. |
| domain_load | Menu loader function. |
| domain_lookup | Runs a lookup against the {domain} table. One of the two values must be present |
| domain_lookup_simple | Determines a domain_id matching given $_name. |
| domain_menu | Implement hook_menu() |
| domain_nodeapi | Implement hook_nodeapi(). |
| domain_node_access_acknowledge | Implement hook_node_access_acknowlegde for devel.module |
| domain_node_access_explain | Implement hook_node_access_explain for devel.module |
| domain_node_access_records | Implement hook_node_access_records() |
| domain_node_grants | Implement hook_node_grants. |
| domain_node_save_redirect | On a node save, make sure the editor is returned to a domain that can view the node. |
| domain_path | Helper function for passing hook_domainpath() by reference. |
| domain_perm | Implement hook_perm() |
| domain_request_name | Determines current, fully qualified domain name. |
| domain_resolve_host | Tries to match the current (host) domain name to a domain in the {domain} table and returns a respective domain_id. |
| domain_select_format | Determine the default format for domain list forms. |
| domain_set_default_grant | Ensure that the 'domain_all' grant is present. |
| domain_set_domain | Set the active domain to something other than the HTTP request. |
| domain_set_primary_domain | Set the primary domain properly, if necessary. |
| domain_simpletest | Implement hook_simpletest() |
| domain_theme | Implement hook_theme() |
| domain_token_list | Implement hook_token_list(). |
| domain_token_values | Implement hook_token_values(). |
| domain_unique_domain | Validate the domain against existing domains. |
| domain_update_users | FormsAPI to handle the batch update of users. |
| domain_url_encode | Simple function to clean strings for use in for example paths. |
| domain_user | Implement hook_user() |
| domain_user_operations | Implement hook_user_operations(). |
| domain_user_operation_assign | Callback for domain_content_node_operations(). |
| domain_validate | Validates a domain string. |
| domain_valid_domain | Validate the domain against all correctable errors. |
| domain_warning_check | Sets a message to the site admin. |
| _domain_id_sort | Helper sort function |
| _domain_name_sort | Helper sort function |
| _domain_path_modules | Helper function for domain_path() checks. |
| _domain_rid_sort | Helper sort function |
| _domain_rname_sort | Helper sort function |
| _domain_rurl_sort | Helper sort function |
| _domain_store_grants | Store node_access records in the {domain_access} table. |
| _domain_url_sort | Helper sort function |
| _domain_user_list | Helper function to get the names of all domains for a user. |