PhpSecInfo_Test_Cgi Class Reference

Inheritance diagram for PhpSecInfo_Test_Cgi:
PhpSecInfo_Test PhpSecInfo_Test_Cgi_Force_Redirect

Public Member Functions

 isTestable ()
 _setMessages ()

Data Fields

 $test_group = 'CGI'

Detailed Description

Definition at line 20 of file Test_Cgi.php.


Member Function Documentation

_setMessages (  ) 

Set the messages for CGI tests

Reimplemented from PhpSecInfo_Test.

Reimplemented in PhpSecInfo_Test_Cgi_Force_Redirect.

Definition at line 53 of file Test_Cgi.php.

isTestable (  ) 

"CGI" tests should only be run if we're running as a CGI. The best way I could think of to test this was to preg against the php_sapi_name() return value.

Returns:
boolean

Reimplemented from PhpSecInfo_Test.

Definition at line 40 of file Test_Cgi.php.


Field Documentation

$test_group = 'CGI'

Reimplemented from PhpSecInfo_Test.

Definition at line 30 of file Test_Cgi.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:39 2010 for Claroline API by  doxygen 1.6.3