\midcom_config_test

Collection of simple helper methods for testing site configuration

Summary

Methods
Properties
Constants
check()
get_status()
show()
No public properties found
OK
WARNING
ERROR
No protected methods found
No protected properties found
N/A
add()
check_midcom()
check_rcs()
check_php()
ini_get_filesize()
check_external()
check_for_utility()
print_section()
$messages
$section
$status
N/A

Constants

OK

OK

WARNING

WARNING

ERROR

ERROR

Properties

$messages

$messages : 

Type

$section

$section : 

Type

$status

$status : 

Type

Methods

check()

check() 

get_status()

get_status() 

show()

show() 

add()

add(  $testname,   $result_code,   $recommendations = ' ') 

Parameters

$testname
$result_code
$recommendations

check_midcom()

check_midcom() 

check_rcs()

check_rcs() 

check_php()

check_php() 

ini_get_filesize()

ini_get_filesize(  $setting) 

Parameters

$setting

check_external()

check_external() 

check_for_utility()

check_for_utility(  $testname,   $fail_code,   $fail_recommendations,   $ok_notice = ' ') 

Parameters

$testname
$fail_code
$fail_recommendations
$ok_notice

print_section()

print_section(  $heading, array  $messages) 

Parameters

$heading
array $messages