Abstract Class Zend_Environment_Module_Abstract

Description

Implements interfaces:

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

Located in /Environment/Module/Abstract.php (line 48)

Zend_Environment_Container_Abstract
   |
   --Zend_Environment_Module_Abstract
Direct descendents
Class Constant Summary
 PATH_PHP_MANUAL = 'http://www.php.net/manual/en/'
Variable Summary
 mixed $_id
 mixed $_info
 mixed $_type
Method Summary
 void __construct (string $id)
 string getId ()
 string getType ()
 void _init ()
 array _parsePhpInfo (string $section)
 string _underscore (string $key)
Variables
mixed $_id (line 55)
  • access: protected
mixed $_info = 'Zend_Environment_Info' (line 56)
  • access: protected

Inherited Variables

Inherited from Zend_Environment_Container_Abstract

Zend_Environment_Container_Abstract::$_data
Zend_Environment_Container_Abstract::$_ptr
Methods
Constructor __construct (line 65)

Constructor requires a unique id

  • access: public
void __construct (string $id)
  • string $id
getId (line 181)

Retrieve Module id.

  • access: public
string getId ()

Implementation of:
Zend_Environment_Module_Interface::getId()
Returns the unique id of a module
getType (line 191)

Retrieve Module type.

  • access: public
string getType ()

Implementation of:
Zend_Environment_Module_Interface::getType()
Returns the type of the module as defined by the protected property $_type
_init (line 78)

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.

  • abstract:
  • access: protected
void _init ()

Redefined in descendants as:
_parsePhpInfo (line 106)

Convert phpinfo output to an array.

As phpinfo() output can vary from section to section, the methods for extracting text vary for each. Where multiple values exists for a directive within a section, these are converted to arrays.

Directives are also converted to an underscore-based name to allow legal property names.

  • access: protected
array _parsePhpInfo (string $section)
  • string $section
_underscore (line 86)

Convert keys to valid property ids.

  • access: protected
string _underscore (string $key)
  • string $key

Inherited Methods

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
PATH_PHP_MANUAL = 'http://www.php.net/manual/en/' (line 53)

Constants to Zend Framework / PHP paths

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