Common
[ class tree: Common ] [ index: Common ] [ all elements ]

Class: StructHandler

Source Location: /common/StructHandler.php

Class Overview


Structure management class


Constants

Methods



Class Details

[line 28]
Structure management class



[ Top ]


Class Methods


method loadFromArray [line 40]

stdClass loadFromArray( array $array)

Returns a structure from an array loaded from a .ini

Value of key my.little.key will be stored in structure->my->little->key.




Tags:

access:  public
static:  


Parameters:

array   $array  

[ Top ]

method loadFromIni [line 58]

stdClass loadFromIni( string $iniFile)

Returns a structure with content of a .ini file



Tags:

access:  public
static:  
see:  StructHandler::loadFromArray()


Parameters:

string   $iniFile   file path

[ Top ]

method mergeOverride [line 74]

mixed mergeOverride( mixed $object, mixed $override, [boolean $mute = false])

Merges two objects

Maybe does not belong to struct handler, as it can be used on any structure (to be tested).




Tags:

return:  result of merge
access:  public
static:  


Parameters:

mixed   $object   first object
mixed   $override   second object
boolean   $mute   if true, prints no warnings

[ Top ]


Class Constants

CONTEXT_INI =  1

[line 30]


[ Top ]

CONTEXT_OBJ =  2

[line 31]


[ Top ]



Documentation generated on Wed, 6 Apr 2005 12:07:01 +0200 by phpDocumentor 1.3.0RC3