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

Class: IsterUIDescExpatNative

Source Location: /IsterUIDescExpatNative.php

Class Overview

IsterObject
   |
   --IsterUIDescExpatNative

This class represents a xml description.


Author(s): Ingo Schramm   

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

Variables

Methods


Child classes:

IsterUIFWDescExpatNative
This class represents a framework schema.
IsterUIConDescExpatNative
This class represents a description of a form to data object connection written in XML.
IsterUIViewDescExpatNative
This class represents a vie description.

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 xml description.

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


[ Top ]


Class Variables

protected object $ref The description object's refrent.
protected string $root Name of the root node.
[ Top ]



Class Methods


constructor IsterUIDescExpatNative

IsterUIDescExpatNative IsterUIDescExpatNative( string $root, string $next)

Constructor

Parameters:

string   $root   name of root node
string   $next   name of parser function next to root

[ Top ]

method close

boolean close( )

Pass by all closing nodes.

access:  protected
[ Top ]

method getCDATA

void getCDATA( object IsterXmlNode $node, [boolean $trim = true], [boolean $trimnl = false])

Get a node's cdata children.

With $trimnl set to true, trim will also trim newlines.


access:  protected

Parameters:

object IsterXmlNode   $node  
boolean   $trim  
boolean   $trimnl  

[ Top ]

method getDescription

boolean getDescription( )

Read the description.

This methods reads a xml description of a form to data object connection. On each node the current connector is called back.


[ Top ]

method getNode

array getNode( mixed $index)

Get the next tag.

  1. list($name, $attr, $type, $level) = $this->getNext(++$this->index);
  2. if(! $type )
  3. $type = 'close';


[ Top ]

method hasChildren

boolean hasChildren( )

Whether the current node has children or not.

access:  protected
[ Top ]

method root

void root( )

access:  protected
[ Top ]

method setReferent

void setReferent( object return &$referent)

Parameters:

object return   &$referent   true;

[ Top ]

method setSource

void setSource( string $source)

Parameters:

string   $source  

[ Top ]

method sql

void sql( [object IsterXmlNode $parent = ''], string 1)

Read a definition of an IsterSqlFunction object.

access:  protected

Parameters:

string   1  
object IsterXmlNode   $parent  

[ Top ]

method syntax

void syntax( mixed $msg)

access:  protected
[ Top ]

method testAttr

void testAttr( mixed $name, mixed $look, mixed $test)

access:  protected
[ Top ]


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