You are here

function domain_get_uri in Domain Access 5

Same name and namespace in other branches
  1. 6.2 domain.module \domain_get_uri()
  2. 7.3 domain.module \domain_get_uri()
  3. 7.2 domain.module \domain_get_uri()

Determine an absolute path to the current page

5 calls to domain_get_uri()
domain_block in ./domain.module
Implement hook_block()
domain_goto in ./domain.module
Determine if we must switch the active domain.
domain_init in ./domain.module
Implement hook_init()
domain_view in ./domain_admin.inc
The main administration page, a list of active domains.
domain_warning_check in ./domain.module
Sets a message to the site admin.
1 string reference to 'domain_get_uri'
domain_nav_render in domain_nav/domain_nav.module
Renders output for the block.

File

./domain.module, line 615
Core module functions for the Domain Access suite.

Code

function domain_get_uri($domain) {
  $path = domain_check_scheme($domain['scheme']) . '://' . $domain['subdomain'] . request_uri();
  return $path;
}