domain.module

Version

1.40.2.17 (checked in on 2008/07/25 at 18:07:14 by agentken)

Description

Core module functions for the Domain Access suite. @ingroup domain

Constants

Namesort iconDescription
DOMAIN_EDITOR_RULEDefines how to handle editor permissions when installing the module. You may alter this variable before installing the module. See README.txt.
DOMAIN_INSTALL_RULEDefines how to handle access permissions when installing the module. You may alter this variable before installing the module. See README.txt.
DOMAIN_SITE_GRANTDefines whether to show affiliated content on all domains.. You may alter this variable before installing the module. See README.txt.

Functions

Namesort iconDescription
domain_adminRouter function to call various administration tasks
domain_apiHelper function for passing hook_domainload() by reference.
domain_batch_validateValidate handler for hook_domainbatch()
domain_blockImplements hook_block()
domain_cronImplements hook_cron()
domain_defaultAssigns the default settings to domain 0, the root domain.
domain_disableImplements hook_disable()
domain_disablingSimple function to make sure we don't respond with grants when disabling ourselves.
domain_domainbatchImplements hook_domainbatch()
domain_domaininstallImplements hook_domaininstall()
domain_domainloadImplements hook_domainload()
domain_domainsReturn all active domains (including the default) as an array.
domain_domainupdateImplements hook_domainupdate()
domain_enableUpon enabling this module, store the default view grant in the {node_access} table. @see domain_grant_all()
domain_enablingWrites the default grants when the module is first enabled.
domain_form_alterImplements hook_form_alter()
domain_get_pathDetermine an absolute path for a domain
domain_get_uriDetermine an absolute path to the current page
domain_gotoDetermine if we must switch the active domain.
domain_grant_allActivate the hidden grant for searches.
domain_initImplements hook_init()
domain_lookupRuns a lookup against the {domain} table. One of the two values must be present
domain_menuImplements hook_menu()
domain_nodeapiImplements hook_nodeapi().
domain_node_access_explainImplements hook_node_access_explain for devel.module
domain_node_access_recordsImplements hook_node_access_records()
domain_node_grantsImplements hook_node_grants.
domain_permImplements hook_perm()
domain_set_default_grantEnsure that the 'domain_all' grant is present.
domain_simpletestImplements hook_simpletest()
domain_userImplements hook_user()
domain_warning_checkSets a message to the site admin.
_domain_id_sortHelper sort function
_domain_name_sortHelper sort function
_domain_rid_sortHelper sort function
_domain_rname_sortHelper sort function
_domain_rurl_sortHelper sort function
_domain_url_sortHelper sort function
_domain_write_recordsStore node_access records in the {domain_access{} table.