App\Admin

Inherited from cmsApplication_Basic

Protected Attributes

protected $report_folder= ''
protected $malicious_files= []
protected $fixed_malicious_files= []
protected $data_directories= array( 'syslangpack' => '/data/private/syslangpack', 'quarantine' => '/data/private/quarantine', 'tmp' => '/data/private/syslangpack/tmp', )
protected $fs_cache 

Protected Methods

protected booleanviewActiveSessions()
View current active sessions $CurrentUser $SystemDB
protected translateOptions($the_options)

Public Methods

public __construct()
public ensureDataDirectoryExists()
Ensure directory exists
public viewMainPage()
Frontend: view the main page. Usually loads view.main.template.php
public getDataModelURL()
public stringcreateFriendlyURL(string $str)
create SEO friendly URL. Format is action={...}¶m1={....}¶m2={...}
public arrayinterpretFriendlyURL(string $urlpath)
Returns an array of command, given $urlpath.
public bool Load admin app $Administration $WYSIWYGEditor $CurrentUser string $CurrentAdminAppNameloadAdminApp(string $appname)
Load admin app $Administration $WYSIWYGEditor $CurrentUser string $CurrentAdminAppName string $appname bool bool
public getIntendedAdminApplication()
public array|NULLcheckLatestVersion()
Checks the latest version $SystemConfig
public loadExternalRSS(type $source)
Load Iframe ext url
public ajxp_UserLogin($command)
public typeviewLogin()
View the login box string $__forceOverrideSubTemplate Users $CurrentUser
public viewBox(int $number, string $title, url $link, $bg_color_class, $icon_class)
Display a box with info
public viewIncomingMessages()
View incoming Messages
public getCountOfIncomingMessagesWithinDays($days)
View incoming Messages
public viewSystemInfo()
Display a box with info
public stringgetApplicationDescription()
Returns the application description from database. If it's empty, then the default application description set in the class will be used instead
public checkIfInstallationDirectoryStillExists()
public getWorldWritableFiles()
public getImproperPHPFiles()
Quick check - BETA $CurrentUser $SystemLog
public performSecurityCheckBETA()
public checkBasicSecurityIssueBETA()
public deleteInstallDirectory($ok)
public checkIfWindowsAndNoSMTP()
public getMaximumFileUploadSize()
public convert_ini_php_memsize($size_str)
public logOut()
Logout the current user type $CurrentUser
public booleanRun(type $command)
Main controller

Public Static Methods

public static renderBackendMenu()
public static typeget3rdPartyApplicationList()
Returns an array containing the name of 3rd party applications list
public static getAdminApp($str)
public static getApplicationIcon($app)
public static getAdminBackendMenuArray()
public static getAdminBackendMenuArrayV2()
public static renderBackendMenuV2()