[Zend_Environment] element index

Package indexes

All elements
a c d e f g i k l m n o p r s t u v z _
_
top
Variable $_cache
Zend_Environment::$_cache in Environment.php
Optional cache instance.
Variable $_cachePrefix
Cache prefix (to avoid namespace clashes).
Variable $_current_value
Enter description here...
Variable $_data
Default properties for a field
Variable $_data
Variable $_data
Container for class properties
Variable $_data
Default properties for a field
Variable $_group
Variable $_group
This value is used to group test results together.
Variable $_group
Variable $_group
Variable $_group
Variable $_id
Variable $_info
Variable $_language
the language code. Should be a pointer to the setting in the PhpSecInfo object
Variable $_message
The message corresponding to the result of the test
Variable $_messages
This is a hash of messages that correspond to various test result levels.
Variable $_name
Variable $_name
Variable $_name
This should be a unique, human-readable identifier for this test
Variable $_num_tests_run
Variable $_ptr
Pointer to provide for Iterator
Variable $_recommended_value
Variable $_recommended_value
Variable $_recommended_value
This is the recommended value the test will be looking for
Variable $_result
The result returned from the test
Variable $_result_counts
Variable $_tests_not_run
Variable $_tests_to_run
Variable $_type
Variable $_type
Variable $_type
Variable $_type
Variable $_type
Variable $_type
Variable $_type
Variable $_type
Method _cache
Zend_Environment::_cache() in Environment.php
Save contents of operation to cache if it has been instantiated.
Method _checkExtensionVersion
Method _execTest
Check to see if the post_max_size setting is enabled.
Method _execTest
Check if upload_tmp_dir matches self::COMMON_TMPDIR, or is word-writable
Method _execTest
Checks to see if cgi.force_redirect is enabled
Method _execTest
Checks to see if allow_url_fopen is enabled
Method _execTest
Checks the GID of the PHP process to make sure it is above PHPSECINFO_MIN_SAFE_UID
Method _execTest
Checks to see if allow_url_fopen is enabled
Method _execTest
Checks to see if allow_url_fopen is enabled
Method _execTest
Check to see if the post_max_size setting is enabled.
Method _execTest
Checks to see if allow_url_fopen is enabled
Method _execTest
Check to see if the memory_limit setting is enabled.
Method _execTest
The "meat" of the test. This is where the real test code goes. You should override this when extending
Method _execTest
Checks the GID of the PHP process to make sure it is above PHPSECINFO_MIN_SAFE_GID
Method _execTest
Checks to see if expose_php is enabled
Method _execTest
Checks to see if allow_url_fopen is enabled
Method _execTest
Checks to see if allow_url_fopen is enabled
Method _execTest
Checks to see if libcurl's "file://" support is enabled by examining the "protocols" array
Method _execTest
Checks to see if display_errors is enabled
Method _execTest
Checks to see if expose_php is enabled
Method _getDefaultView
Creates instance of default environment view.
Method _getResultAsString
Method _init
Method _init
Method _init
The _init() method is where the module is propagated. Since the methods for populating the fields can vary this is left to each concrete module to implement.
Method _init
Method _init
Method _init
Method _init
Method _init
Method _parsePhpInfo
Convert phpinfo output to an array.
Method _render
Zend_Environment::_render() in Environment.php
Internal method to retrieve environment view.
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Placeholder - extend for tests
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _retrieveCurrentValue
Method _setMessage
Sets the $this->_message variable based on the passed result and language codes
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
This function loads up result messages into the $this->_messages array.
Method _setMessages
Set the messages specific to this test
Method _setMessages
Extended for curl-specific message
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setMessages
Set the messages specific to this test
Method _setResult
Sets the result code
Method _underscore
Convert keys to valid property ids.
Method __construct
Constructor requires a unique id
Method __construct
An array of default values can be passed to this component
Method __construct
Method __construct
Constructor for Test skeleton class
Method __get
Magic method for retrieving properties.
Method __isset
Support isset() overloading on PHP 5.1
Method __set
Magic method for setting properties.
a
top
Method asArray
Convert the instance to an associative array
Page Abstract.php
Abstract.php in Abstract.php
Page Abstract.php
Abstract.php in Abstract.php
Page AllowUrlFopen.php
AllowUrlFopen.php in AllowUrlFopen.php
Page AllowUrlInclude.php
AllowUrlInclude.php in AllowUrlInclude.php
Class Constant LANG_DEFAULT
Class Constant PATH_PHP_MANUAL
Constants to Zend Framework / PHP paths
c
top
Method count
Defined by Countable interface
Method current
Defined by Iterator interface
Page Cli.php
Cli.php in Cli.php
Page Core.php
Core.php in Core.php
Page CGI.php
CGI.php in CGI.php
Page Core.php
Core.php in Core.php
Page Curl.php
Curl.php in Curl.php
d
top
Page DisplayErrors.php
DisplayErrors.php in DisplayErrors.php
e
top
Page Exception.php
Exception.php in Exception.php
Page Extension.php
Extension.php in Extension.php
Page ExposePHP.php
ExposePHP.php in ExposePHP.php
Page Environment.php
Environment.php in Environment.php
Class Constant RESULT_ERROR
Class Constant RESULT_NOTICE
Class Constant RESULT_NOTRUN
Class Constant RESULT_OK
Class Constant RESULT_WARN
Class Constant VERSION_EXACT
Class Constant VERSION_MAX
Class Constant VERSION_MIN
Constants to map to version_compare
f
top
Page Field.php
Field.php in Field.php
Page Field.php
Field.php in Field.php
Page ForceRedirect.php
ForceRedirect.php in ForceRedirect.php
Page FileUploads.php
FileUploads.php in FileUploads.php
Page FileSupport.php
FileSupport.php in FileSupport.php
g
top
Page GID.php
GID.php in GID.php
Method getCurrentTestValue
returns the current value. This function should be used to access the value for display. All values are cast as strings
Method getId
Returns the unique id of a module
Method getId
Retrieve Module id.
Method getIniValue
This method converts the several possible return values from allegedly "boolean" ini settings to proper booleans
Method getMessage
Retrieves the message for the current result
Method getMoreInfoURL
Returns a link to a page with detailed information about the test
Method getRecommendedTestValue
returns the recommended value. This function should be used to access the value for display. All values are cast as strings
Method getResult
Retrieves the result
Method getStringValue
This just does the usual PHP string casting, except for the boolean FALSE value, where the string "0" is returned instead of an empty string
Method getTestGroup
Returns the test group this test belongs to
Method getTestName
This retrieves the name of this test.
Method getType
Returns the type of the module as defined by the protected property $_type
Method getType
Retrieve Module type.
i
top
Page Ini.php
Ini.php in Ini.php
Page Interface.php
Interface.php in Interface.php
Method isTestable
magic_quotes_gpc has been removed since PHP 6.0
Method isTestable
register_globals has been removed since PHP 6.0
Method isTestable
Determines whether or not it's appropriate to run this test (for example, if this test is for a particular library, it shouldn't be run if the lib isn't loaded).
Method isTestable
We are disabling this function on Windows OSes right now until we can be certain of the proper way to check world-readability
Method isTestable
"Session" tests should pretty much be always testable, so the default is just to return true
Method isTestable
allow_url_include is only available since PHP 5.2
Method isTestable
No CGI tests should be run if the CGI SAPI isn't being used
Method isTestable
"Core" tests should pretty much be always testable, so the default is just to return true
Method isTestable
if curl extension is not loaded, no curl tests should be run
Method isValid
Provides base method for checking behaviour of individual fields within a section. Modules such as 'Security' may subclass this to provide more relevant results.
Method isVersion
Returns the result of a comparison with a section module and a version number
k
top
Method key
Defined by Iterator interface
l
top
Method loadTests
recurses through the Test subdir and includes classes in each test group subdir,
m
top
Page MagicQuotesGPC.php
MagicQuotesGPC.php in MagicQuotesGPC.php
Page MemoryLimit.php
MemoryLimit.php in MemoryLimit.php
Method match
Zend_Environment::match() in Environment.php
Returns a string identifier associated to a specific environment.
n
top
Method next
Defined by Iterator interface
o
top
Class Constant COMMON_TMPDIR
Page Os.php
Os.php in Os.php
Page OpenBasedir.php
OpenBasedir.php in OpenBasedir.php
Class Constant MOREINFO_BASEURL
Method osIsWindows
A quick function to determine whether we're running on Windows.
p
top
Page PostMaxSize.php
PostMaxSize.php in PostMaxSize.php
r
top
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
Variable $recommended_value
The recommended setting value
Variable $recommended_value
Page RegisterGlobals.php
RegisterGlobals.php in RegisterGlobals.php
Method resetStats
Method returnBytes
This function takes the shorthand notation used in memory limit settings for PHP and returns the byte value. Totally stolen from http://us3.php.net/manual/en/function.ini-get.php
Method rewind
Defined by Iterator interface
Method runTests
This runs the tests in the tests_to_run array and
s
top
Page Security.php
Security.php in Security.php
Page Server.php
Server.php in Server.php
Page Session.php
Session.php in Session.php
Method setMessageForResult
Sets the message for a given result code and language
Method setTestGroup
sets the test group. This is private, and intended for loading data from an external config file (to-do)
Method setTestName
sets the test name. This is private, and intended for loading data from an external config file (to-do)
Method sys_get_temp_dir
sys_get_temp_dir provides some temp dir detection capability that is lacking in versions of PHP that do not have the sys_get_temp_dir() function
t
top
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Variable $test_name
This should be a unique, human-readable identifier for this test
Page Test.php
Test.php in Test.php
Method test
This is the wrapper that executes the test and sets the result code and message
Method toFile
Zend_Environment::toFile() in Environment.php
Sends formatted text-only output of the environment to a file.
Method toHtml
Zend_Environment::toHtml() in Environment.php
Passes the environment to a Zend_View to format as a whole HTML page (using the default HTML renderer) or to a user-supplied Zend_View.
Method toString
Method toText
Zend_Environment::toText() in Environment.php
Passes the environment to a Zend_View to format as a whole Text page (using the default Text renderer) or to a user-supplied Zend_View.
u
top
Page UID.php
UID.php in UID.php
Page UploadMaxFilesize.php
UploadMaxFilesize.php in UploadMaxFilesize.php
Page UploadTmpDir.php
UploadTmpDir.php in UploadTmpDir.php
Page UseTransSid.php
UseTransSid.php in UseTransSid.php
v
top
Page View.php
View.php in View.php
Method valid
Defined by Iterator interface
z
top
Class Zend_Environment
Zend_Environment in Environment.php
Class Zend_Environment_Container_Abstract
Class Zend_Environment_Exception
Class Zend_Environment_Field
Class Zend_Environment_Module_Abstract
Class Zend_Environment_Module_Cli
Class Zend_Environment_Module_Core
Class Zend_Environment_Module_Extension
Class Zend_Environment_Module_Ini
Class Zend_Environment_Module_Interface
Class Zend_Environment_Module_Os
Class Zend_Environment_Module_Security
Class Zend_Environment_Module_Server
Class Zend_Environment_Security_Field
Class Zend_Environment_Security_Test
Class Zend_Environment_Security_Test_CGI
Class Zend_Environment_Security_Test_CGI_ForceRedirect
Class Zend_Environment_Security_Test_Core
Class Zend_Environment_Security_Test_Core_AllowUrlFopen
Test Class for allow_url_fopen
Class Zend_Environment_Security_Test_Core_AllowUrlInclude
Test Class for allow_url_include
Class Zend_Environment_Security_Test_Core_DisplayErrors
Test class for display_errors
Class Zend_Environment_Security_Test_Core_ExposePhp
Test class for expose_php
Class Zend_Environment_Security_Test_Core_FileUploads
Test Class for file_uploads
Class Zend_Environment_Security_Test_Core_Gid
Test class for GID
Class Zend_Environment_Security_Test_Core_MagicQuotesGPC
Test Class for magic_quotes_gpc
Class Zend_Environment_Security_Test_Core_MemoryLimit
Test Class for memory_limit setting
Class Zend_Environment_Security_Test_Core_OpenBasedir
Test Class for open_basedir
Class Zend_Environment_Security_Test_Core_PostMaxSize
Test Class for post_max_size
Class Zend_Environment_Security_Test_Core_RegisterGlobals
Test Class for register_globals
Class Zend_Environment_Security_Test_Core_Uid
Test class for UID
Class Zend_Environment_Security_Test_Core_UploadMaxFilesize
Test Class for upload_max_filesize
Class Zend_Environment_Security_Test_Core_UploadTmpDir
Test Class for upload_tmp_dir
Class Zend_Environment_Security_Test_Curl
Class Zend_Environment_Security_Test_Curl_FileSupport
Class Zend_Environment_Security_Test_Session
Class Zend_Environment_Security_Test_Session_UseTransSid
Class Zend_Environment_View
a c d e f g i k l m n o p r s t u v z _