Aliases_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module_Support_Aliases
Methods Summary
public
# __construct( )
void __construct(void)

ignore


Overrides

public
# add_shared_domain_backend( string $domain , string $path )
Post-verification add_shared_domain()
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( $domain )
Domain is exempt from DNS verification requirements
public
# modify_domain( string $domain , array $newparams )
Modify shared domain settings
public
# remove_shared_domain( string $domain )
bool remove_shared_domain(string)
public
# remove_alias( $alias )
public
# add_shared_domain( $domain , $path )
public
# shared_domain_exists( string $domain )
Verify domain hosted on account
public
# list_shared_domains( )
array list_shared_domains()
public
# shared_domain_hosted( string $domain )
Shared domain is hosted by another account
public
# challenge_token( )
Get challenge token to verify ownership of domain
public
# list_unsynchronized_domains( )
Compare domain configuration journal
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 )
protected
# add_alias( string $alias )
Add hostname to account configuration add_alias() implies that prereq checks have been made, including duplication checks
protected
# _verify( $domain )
protected
# _verify_dns( $domain )
Ensure a domain is not already hosted through Apis
protected
# domain_is_delegated( $domain )
Verify that a domain is delegated to hosting nameservers
protected
# _verify_url( $domain )
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(), transformMap(), removeBypass(), createDocumentRoot(), isBypass()
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'siteinfo', 1 => 'users', )
public string DNS_VERIFICATION_RECORD
addon domain dns verification record
# 'newacct'
Constants inherited from Module_Support_Aliases
CONFIG_DB_DIR , BYPASS_FILE
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, $pgsql, $mysql