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

Class: IsterUIDescFactory

Source Location: /IsterUIDescFactory.php

Class Overview

IsterObject
   |
   --IsterUIDescFactory

This class represents a description of an object extending IsterUIBase.


Author(s): Ingo Schramm   

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

Methods


Inherited Constants

Inherited Variables

Inherited Methods

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 description of an object extending IsterUIBase.

This is a factory class.


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


[ Top ]


Class Methods


constructor IsterUIDescFactory

IsterUIDescFactory IsterUIDescFactory( )

Constructor

[ Top ]

method get

object IsterObject get( mixed $type, [mixed $selector = 0])

Get the description object.

You may use $selector to force a given class to be instantiated. If you set $selector=ISTER_UI_USE_NATIVE, the IsterUI*DescExpatNative classes are used. These are about 10% faster and less memory expensive. If you plan to use one of the non-native classes of the xml package elsewhere, you may not use the native classes here because this would lead to even more memory consumption due to doubled loading of classes.


[ Top ]

method getCloned

object IsterObject getCloned( mixed $type, mixed $class)

Get a description of the same group like $class is in.

For example, if $class is one of the ISTER_UI_USE_NATIVE classes, the returned class will also one of these classes. Used to create description chains.


[ Top ]


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