app 
[ doc home ] [ class tree: app ] [ index: app ] [ all elements ]

Class: IsterAppConfigureReader

Source Location: /IsterAppConfigureReader.php

Class Overview

IsterObject
   |
   --IsterCapability
      |
      --IsterAppConfigureReader

This class represents a reader who can fetch configuration information.


Author(s): Ingo Schramm   

Copyright: Copyright (c) 2005 Ister.ORG Ingo Schramm

Methods


Child classes:

IsterAppConfigureReaderSql
This class represents a configuaration reader capable of reading options from database tables.

Inherited Constants

Inherited Variables

Inherited Methods

Class: IsterCapability

IsterCapability::IsterCapability()
Constructor
IsterCapability::hasCap()
Check reader for a capability.

Class: IsterObject

IsterObject::IsterObject()
Constructor
IsterObject::abstractMethodError()
Report attempt to call an abstract method.
IsterObject::addLogger()
Add an IsterLogger to process log messages.
IsterObject::deleteLogger()
Delete an already registered IsterLogger.
IsterObject::getLoggerNames()
Fetch the names of all currently registered IsterLoggers.
IsterObject::getMem()
Return maximum amount of memory an application has allocated at this point.
IsterObject::log()
Trigger a log message.
IsterObject::passPHPmessage()
Catch PHP E_WARNING and E_NOTICE messages.
IsterObject::serialize()
Serialize the object.
IsterObject::setLogLocal()
Set logging local for the current object.
IsterObject::setupLogger()
Setup a logger.
IsterObject::triggerError()
Alias for log();
IsterObject::unserialize()
Unserialize the object.
IsterObject::__sleep()
Executed prior to serialize().
IsterObject::__wakeup()
Executed prior to unserialize().

Class Details

This class represents a reader who can fetch configuration information.

Capabilities of this class are:

  • APP_CONFIG_READER_CAP_GETOPT - getOpt() may be used
  • APP_CONFIG_READER_CAP_GETALL - getAll() may be used


copyright:  Copyright (c) 2005 Ister.ORG Ingo Schramm
author:  Ingo Schramm


[ Top ]


Class Methods


constructor IsterAppConfigureReader

IsterAppConfigureReader IsterAppConfigureReader( )

Constructor

[ Top ]

method getAll

array getAll( )

Read the configuration from source and return all options.

Note: Override this.


return:  An array of IsterAppConfigureSet objects
[ Top ]

method getOpt

array getOpt( string $name, string $section, string $set)

Get the value of an option.

Note: Override this.


Overridden in child classes as:

IsterAppConfigureReaderSql::getOpt()
Get the value of an option.

Parameters:

string   $name  
string   $section  
string   $set  

[ Top ]


Documentation generated on Tue, 20 Dec 2005 11:20:26 +0100 by phpDocumentor 1.3.0RC4