Aliases_Module

Aliases and shared domains
extends Module\Support\Aliases
Methods Summary
public
# __construct( )
void __construct(void)

ignore


Overrides

public
# add_domain_backend( string $domain , string $path )
Post-verification add_domain()
protected
# add_alias( string $alias )
Add hostname to account configuration add_alias() implies that prereq checks have been made, including duplication checks
protected
# notify_admin( string $domain , string $path )
Notify appliance admin domain has been added
public
# map_domain( string $mode , string $domain , string $path = NULL, string $user = NULL )
Manage domain symlink mapping

todo


public
# bypass_exists( string $domain )
Domain is exempt from DNS verification requirements
public
# modify_domain( string $domain , array $newparams )
Modify shared domain settings
public
# domain_exists( string $domain )
Verify domain hosted on account
public
# list_shared_domains( )
List shared domains attached to account
public
# shared_domain_hosted( string $domain )
Shared domain is hosted by another account
public
# remove_domain( string $domain )
bool remove_domain(string)
public
# remove_alias( string $alias )
public
# add_domain( string $domain , string $path )
protected
# _verify( string $domain )
protected
# _verify_dns( string $domain )
Ensure a domain is not already hosted through Apis
protected
# domain_is_delegated( string $domain )
Verify that a domain is delegated to hosting nameservers
protected
# _verify_url( string $domain )
public
# challenge_token( )
Get challenge token to verify ownership of domain
public
# remove_shared_domain( string $domain )
public
# add_shared_domain( string $domain , string $path )
public
# shared_domain_exists( $domain )
public
# list_unsynchronized_domains( )
Compare domain configuration journal
public
# changes_pending( )
Account has unjournaled domain configuration
public
public
# list_aliases( )
array list_aliases()
public
# _reset( Util_Account_Editor & $editor = NULL )
public
# _edit( )
public
# _create( )
public
# _delete( )
public
# _edit_user( string $user , string $usernew , array $oldpwd )
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
public
# _create_user( string $user )
public
# _delete_user( string $user )
Methods inherited from Module\Support\Aliases
addMap(), removeMap(), cache(), transformMap(), removeBypass(), createDocumentRoot(), isBypass()
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'siteinfo', 1 => 'apache', 2 => 'users', )
public string DNS_VERIFICATION_RECORD
addon domain dns verification record
# 'newacct'
Constants inherited from Module\Support\Aliases
CONFIG_DB_DIR , BYPASS_FILE , CACHE_KEY
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id