Standard

Class Module_Skeleton
implements Module\Definition\MODULE30 uses ContextableTrait, FilesystemPathTrait, apnscpFunctionInterceptorTrait

Known subclasses

Admin_Module, Aliases_Module, Auth_Module, Bandwidth_Module, Billing_Module, Cgroup_Module, Cloudflare_Module, Common_Module, Config_Module, Crm_Module, Crontab_Module, Dav_Module, Demo_Module, Discourse_Module, Diskquota_Module, Dns_Module, Drupal_Module, Email_Module, File_Module, Frontpage_Module, Ftp_Module, Ghost_Module, Git_Module, Htpasswd_Module, Ipinfo_Module, Joomla_Module, Laravel_Module, Letsencrypt_Module, Log_Module, Logs_Module, Magento_Module, Majordomo_Module, Misc_Module, Module\Support\Webapps, Module\Support\Webapps\Composer, Module\Support\Webapps\Magento, Module_Support_Aliases, Module_Support_Auth, Module_Support_Dns, Module_Support_Letsencrypt, Module_Support_Php, Module_Support_Sql, Mysql_Module, Node_Module, Perl_Module, Personality_Module, Pgsql_Module, Php_Module, Pman_Module, Python_Module, Quote_Module, Rampart_Module, Redis_Module, Reseller_Module, Ruby_Module, Site_Module, Spamfilter_Module, Sql_Module, Ssh_Module, Ssl_Module, Stats_Module, Telemetry_Module, Test_Module, Tomcat_Module, User_Module, Verco_Module, Watch_Module, Web_Module, Webhook_Module, Wordpress_Module
Abstract
Open source code
Methods Summary
public
public
# __wakeup( )
public static
# autoloadModule( Auth_Info_User $context )
Autoload instance using context
public
# setUserParameters( Auth_Info_User $auth )
public
# cleanUserParameters( )
{{{ void clean_user_parameters Cleans the user-specific parameters; necessary to invoke after calling a backend call
public
# setSessionId( $id )
public
# _invoke( string $function , mixed $args )
Call method on module
public
public
public
# _reset( Util_Account_Editor & $editor = NULL )
Account reset hook
protected
protected
# getNewServices( $svc = NULL )
protected
# getActiveServices( $svc = NULL )
protected
# getConfig( $svc_name , $svc_type = NULL )
protected
# getServiceValue( string $svc_name , string $svc_type = NULL, mixed $default = NULL )
mixed get_service_value(string, string) Get site configuration value from <FST>/info/current
protected
# setConfigJournal( $svc_name , $svc_param , $svc_val )
Journals data to <site config>/info/new/<$svc_name> Invokes reconfigure hook when EditVirtDomain is used
protected
# setConfig( $svc_name , $svc_param , $svc_val , $journal = false )
Writes out configuration immediately to <site config>/info/current/<$svc_name> *Does not* invoke reconfigure hook when EditVirtDomain is used
public
# query( string $cmd , mixed $args ,… )
Elevate permissions + query backend
public
Methods used from ContextableTrait trait
setContext() instantiateContexted() inContext() getAuthContext()
Methods used from FilesystemPathTrait trait
bindPathContext() domain_fs_path() domain_info_path() domain_shadow_path() make_domain_fs_path() service_template_path()
Methods used from apnscpFunctionInterceptorTrait trait
__call() setApnscpFunctionInterceptor() getApnscpFunctionInterceptor()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'siteinfo', )
Properties Summary
protected $exportedFunctions
# array ( )
protected $username
# NULL
protected $password
# NULL
protected $domain
# NULL
protected $user_id
# NULL
protected $group_id
# NULL
protected $permission_level
# NULL
protected $session_id
# NULL
protected $site
# NULL
protected $site_id
# NULL
protected $pgsql
# NULL
protected $mysql
# NULL
Properties used from ContextableTrait
Properties used from FilesystemPathTrait
$site
Properties used from apnscpFunctionInterceptorTrait
$apnscpFunctionInterceptor