Misc_Module

Miscellaneous functions that just don't have a place elsewhere
extends Module\Skeleton\Standard
Methods Summary
public
# cp_version( string $field = '' )
Current control panel version
public
# flush_cp_version( )
Force recheck on next cp_version query
public
# platform_version( )
Get platform version
public
# dashboard_memory_usage( )
int dashboard_memory_usage()
public
# apnscpd_memory_usage( )
int lservice_memory_usage()
public
# toggle_procfs( )
Toggle procfs presence
public
# is_mounted( string $svc )
Service is mounted
public
# unmount_service( string $svc )
Unmount service from site
public
# mount_service( string $svc )
Mount service
public
# procfs_enabled( )
procfs is mounted
public
# changelog( )
Get changelog
public
# notify_installed( string $password )
Notify admin panel has been installed
public
# notify_update_failure( )
Scan for update failure notifying admin
public
# list_commands( string $filter = '' )
Get all available module commands
public
# debug_session( string $id , bool $state = true )
Enable debugging for a frontend session
public
# command_info( string $filter = '' )
Get command information
public
# l( string $filter = '' )
Wrapper for list_commands
public
# i( string $filter = '' )
Wrapper for command_info
public
# get_job_queue( )
Get pending/running job queue
public
# jobify( string $cmd , array $args = array ( ), string $site = NULL )
Run command as a job
public
# _edit( )
public
# _delete( )
public
# _cron( Cronus $cron )
public
public
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public string MOUNTRC
# '/etc/init.d/vmount'
public string MEMTEST_KEY
# '_misc_cron_memory_test'
public array MOUNTABLE_SERVICES
# array ( 0 => 'procfs', 1 => 'fcgi', )
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $exportedFunctions

# array ( '*' => 2, 'get_job_queue' => 8, 'jobify' => 8, 'flush_cp_version' => 8, 'cp_version' => 15, 'platform_version' => 15, 'dashboard_memory_usage' => 15, 'lservice_memory_usage' => 15, 'changelog' => 15, 'run' => 2, 'notify_installed' => 8, 'notify_update_failure' => 8, 'list_commands' => 15, 'command_info' => 15, 'debug_session' => 8, 'theme_inventory' => 8, 'i' => 15, 'l' => 15, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id