Constants

WARNING

WARNING = 1

ERROR

ERROR = 2

Properties

$subPages

$subPages : array

The Server information page sub-pages.

Type

array — Sub pages.

Methods

get_class_name()

get_class_name() : string

Get Class Name

Returns

string —

CLASS

init_menu()

init_menu() 

Method init_menu()

Initiate Server Information subPage menu.

init_left_menu()

init_left_menu(array  $subPages = array()) 

Initiates Server Information left menu.

Parameters

array $subPages

array of subpages.

render_footer()

render_footer(string  $shownPage) 

Renders Server Information footer.

Parameters

string $shownPage

Current page.

render_actions_bar()

render_actions_bar() 

Renders Server Information action bar element.

render()

render() : void

Renders Server Information page.

render_quick_setup_system_check()

render_quick_setup_system_check() : void

Renders MainWP system requirements check.

get_mainwp_version_check()

get_mainwp_version_check() : mixed

Compares the detected MainWP Dashboard version agains the verion in WP.org.

Returns

mixed —

Pass|self::get_warning_html().

render_cron()

render_cron() : void

Renders the Cron Schedule page.

check_directory_mainwp_directory()

check_directory_mainwp_directory() : boolean

Checks if the .

./wp-content/uploads/mainwp/ directory is writable.

Returns

boolean —

True if writable, false if not.

render_directory_row()

render_directory_row(string  $name, string  $check, string  $result, boolean  $passed) : boolean

Renders the directory check row.

Parameters

string $name

check name.

string $check

desired result.

string $result

detected result.

boolean $passed

true|false check result.

Returns

boolean —

true.

render_row()

render_row(string  $config, string  $compare, mixed  $version, mixed  $getter, string  $extraText = '', null  $extraCompare = null, null  $extraVersion = null, null  $whatType = null, integer  $errorType = self::WARNING) 

Renders server information table row.

Parameters

string $config

configuraion check.

string $compare

comparison operator.

mixed $version

reqiored minium version number.

mixed $getter

detected version number.

string $extraText

additionl text.

null $extraCompare

extra compare.

null $extraVersion

extra version.

null $whatType

comparison type.

integer $errorType

global variable self::WARNING = 1.

render_row_with_description()

render_row_with_description(string  $config, string  $compare, mixed  $version, mixed  $getter, string  $extraText = '', null  $extraCompare = null, null  $extraVersion = null, null  $whatType = null, integer  $errorType = self::WARNING) 

Renders server information table row with description.

Parameters

string $config

configuraion check.

string $compare

comparison operator.

mixed $version

reqiored minium version number.

mixed $getter

detected version number.

string $extraText

additionl text.

null $extraCompare

extra compare.

null $extraVersion

extra version.

null $whatType

comparison type.

integer $errorType

global variable self::WARNING = 1.

get_file_system_method_check()

get_file_system_method_check() : mixed

Checks if file system method is direct.

Returns

mixed —

html|self::get_warning_html().

render_error_log_page()

render_error_log_page() 

Renders Error Log page.

Plugin-Name: Error Log Dashboard Widget Plugin URI: http://wordpress.org/extend/plugins/error-log-dashboard-widget/ Description: Robust zero-configuration and low-memory way to keep an eye on error log. Author: Andrey "Rarst" Savchenko Author URI: http://www.rarst.net/ Version: 1.0.2 License: GPLv2 or later

Includes last_lines() function by phant0m, licensed under cc-wiki and GPLv2+

render_wp_config()

render_wp_config() : void

Renders the wp comfig page.

render_action_logs()

render_action_logs() 

Renders action logs page.

render_htaccess()

render_htaccess() : void

Renders .htaccess File page.

php_disabled_functions()

php_disabled_functions() : void

Checks for disable PHP Functions.

display_mainwp_options()

display_mainwp_options() : void

Renders MainWP Settings 'Options'.

get_warning_html()

get_warning_html(integer  $errorType = self::WARNING) : string

Renders PHP Warning HTML.

Parameters

integer $errorType

Global variable self::WARNING = 1.

Returns

string —

PHP Warning html.