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

Class: PMO_Config

Source Location: /fichiers/v0.15/PMO_core/PMO_Config.php

Interface Overview


This interface defines the methods a class must implement to provide a working configuration class to the PMO objects.


Author(s):

Methods



Class Details

[line 45]
This interface defines the methods a class must implement to provide a working configuration class to the PMO objects.



Tags:

see:  PMO_MyConfig


[ Top ]


Class Methods


static method factory [line 53]

static object an factory( )

the implementation must return an instance. It it does not exists it must be created.



Tags:

return:  object derived from a class implementing this interface.


[ Top ]

method get [line 73]

mixed get( string $varname)

the implementation must return the value of the passed variable name or throw an exception if the variable does not exist.



Tags:

return:  the variable value
throws:  Exception if $varname does not exist
access:  public


Parameters:

string   $varname   the variable name

[ Top ]

method set [line 63]

void set( string $varname, [mixed $value = null])

the implementation must set the passed variable name with the passed value.



Tags:

access:  public


Parameters:

string   $varname   the variable name to set
mixed   $value   the value to set the variable with

[ Top ]


Documentation generated on Wed, 15 Oct 2008 09:15:31 -0400 by phpDocumentor 1.4.1