You are here

function domain_prefix_string in Domain Access 6.2

Same name and namespace in other branches
  1. 5 domain_prefix/domain_prefix.module \domain_prefix_string()

Uniform prefix string

Parameters

$domain_id: The domain_id taken from {domain}.

4 calls to domain_prefix_string()
domain_prefix_domainpath in domain_prefix/domain_prefix.path.inc
Implement hook_domainpath().
domain_prefix_drop_records in domain_prefix/domain_prefix.admin.inc
Drop tables created by this module.
domain_prefix_form in domain_prefix/domain_prefix.admin.inc
The table prefixing page for a domain.
domain_prefix_form_submit in domain_prefix/domain_prefix.admin.inc
FormsAPI for domain_prefix_form.

File

domain_prefix/domain_prefix.module, line 151
Interface for selective table prefixing for use with Domain Access.

Code

function domain_prefix_string($domain_id) {
  return 'domain_' . $domain_id . '_';
}