Abstract Class mpArrayManager

Description

Implements interfaces:

Abstract array manager class.

Provides access to multidimensional arrays up to deepness of 4 levels.

  • author: Murat Purc <murat@purc.de>
  • todo: Comment code
  • abstract:

Located in /contenido/classes/mp/class.mparraymanager.php (line 85)


	
			
Direct descendents
Class Description
 class mpGlobals Globals array ($GLOBALS) manager class. Provides another way to access (reading/writing) to globals array.
Variable Summary
Method Summary
 void exists ( $path)
 void get ( $path, [ $default = null])
 void set ( $path,  $value)
 void _getSections ( $path)
Variables
static mpIArrayManager $_instance (line 103)

Instance of child class.

  • access: protected
array $_aData (line 91)

Contains the array to manage.

  • access: protected
string $_delem = '/' (line 97)

The delemiter beeing used to access to array structure.

  • access: protected
Methods
exists (line 106)
  • access: public
void exists ( $path)
  • $path

Implementation of:
mpIArrayManager::exists()
Checks if an entry exists.
get (line 129)
  • access: public
void get ( $path, [ $default = null])
  • $path
  • $default

Implementation of:
mpIArrayManager::get()
Returns the value by passed path.
set (line 153)
  • access: public
void set ( $path,  $value)
  • $path
  • $value

Implementation of:
mpIArrayManager::set()
Sets the value by passed path.
_getSections (line 187)
  • access: private
void _getSections ( $path)
  • $path

Documentation generated on Sun, 08 Feb 2009 22:00:42 +0100 by phpDocumentor 1.4.1