Class Zend_Environment_Module_Security

Description
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Environment/Module/Security.php (line 46)

Zend_Environment_Container_Abstract
   |
   --Zend_Environment_Module_Abstract
      |
      --Zend_Environment_Module_Security
Variable Summary
Method Summary
 void loadTests ([ $test_path = NULL])
 void resetStats ()
 void runTests ()
 string _getResultAsString (integer $result_code)
 void _init ()
Variables
mixed $_num_tests_run = 0 (line 56)
  • access: protected
mixed $_result_counts = array() (line 54)
  • access: protected
mixed $_tests_not_run = array() (line 52)
  • access: protected
mixed $_tests_to_run = array() (line 50)
  • access: protected
mixed $_type = 'security' (line 48)
  • access: protected

Redefinition of:
Zend_Environment_Module_Abstract::$_type

Inherited Variables

Inherited from Zend_Environment_Module_Abstract

Zend_Environment_Module_Abstract::$_id
Zend_Environment_Module_Abstract::$_info

Inherited from Zend_Environment_Container_Abstract

Zend_Environment_Container_Abstract::$_data
Zend_Environment_Container_Abstract::$_ptr
Methods
loadTests (line 79)

recurses through the Test subdir and includes classes in each test group subdir,

then builds an array of classnames for the tests that will be run

  • access: public
void loadTests ([ $test_path = NULL])
  • $test_path
resetStats (line 67)

This resets all the stat-tracking variables

  • access: public
void resetStats ()
runTests (line 123)

This runs the tests in the $_tests_to_run array and

places returned data in the following arrays/scalars:

  • $this->_data
  • $this->_result_counts
  • $this->_num_tests_run
  • $this->_tests_not_run

void runTests ()
_getResultAsString (line 185)

Takes the integer code for a result and returns a string for human consumption

  • access: protected
string _getResultAsString (integer $result_code)
  • integer $result_code
_init (line 59)
  • access: protected
void _init ()

Redefinition of:
Zend_Environment_Module_Abstract::_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.

Inherited Methods

Inherited From Zend_Environment_Module_Abstract

 Zend_Environment_Module_Abstract::__construct()
 Zend_Environment_Module_Abstract::getId()
 Zend_Environment_Module_Abstract::getType()
 Zend_Environment_Module_Abstract::_init()
 Zend_Environment_Module_Abstract::_parsePhpInfo()
 Zend_Environment_Module_Abstract::_underscore()

Inherited From Zend_Environment_Container_Abstract

 Zend_Environment_Container_Abstract::asArray()
 Zend_Environment_Container_Abstract::count()
 Zend_Environment_Container_Abstract::current()
 Zend_Environment_Container_Abstract::key()
 Zend_Environment_Container_Abstract::next()
 Zend_Environment_Container_Abstract::rewind()
 Zend_Environment_Container_Abstract::valid()
 Zend_Environment_Container_Abstract::__get()
 Zend_Environment_Container_Abstract::__isset()
 Zend_Environment_Container_Abstract::__set()
Class Constants

Documentation generated on Sun, 27 May 2007 23:29:37 -0700 by phpDocumentor 1.3.2