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

Class: Filer

Source Location: /classes.inc.php

Class Overview

Object
   |
   --Filer

A base class that reads/writes components from/to an xml stream


Author(s):

Variables

Methods


Child classes:

Reader
A class for reading components from an xml stream

Inherited Variables

Inherited Methods

Class: Object

Object::__construct()
Constructs an object and initializes its data before the object is first used.
Object::className()
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
Object::classNameIs()
Determines whether an object is of a specific type.
Object::classParent()
Returns the type of the immediate ancestor of a class.
Object::inheritsFrom()
Determines the relationship of two object types.
Object::methodExists()
Check if a method exists declared on this object instance.
Object::readProperty()
Reads a property from the streams
Object::__get()
To virtualize properties
Object::__set()
To virtualize properties

Class Details

[line 230]
A base class that reads/writes components from/to an xml stream

This is an internal class used by the streaming system to load all objects from an XML file. It uses the XML parser to read the file, creates the objects and assign property values




Tags:



[ Top ]


Class Variables

$createobjects = true

[line 239]



Tags:

access:  public

Type:   mixed


[ Top ]

$_lastproperty =

[line 237]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_lastread =

[line 234]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_parents =

[line 235]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_properties =

[line 236]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_root =

[line 233]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_rootvars =

[line 238]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_xmlparser =

[line 232]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 246]

Filer __construct( xmlparser $xmlparser)

Initializes the object by setting up a list of parents and the xml parser used to read/write components



Overrides Object::__construct() (Constructs an object and initializes its data before the object is first used.)

Parameters:

xmlparser   $xmlparser   xml parser to read/write components

[ Top ]

method cData [line 438]

void cData( xmlparser $parser, string $cdata)

Processes the data for tags



Tags:



Parameters:

xmlparser   $parser   xml parser in use
string   $cdata   data to be processed

[ Top ]

method getRoot [line 597]

object getRoot( )

Root component

This property specifies the root component for which all read components are going to be owned.




[ Top ]

method setRoot [line 598]

void setRoot( $value)



Parameters:

   $value  

[ Top ]

method tagClose [line 524]

void tagClose( xmlparser $parser, string $tag)

Processes tag closing



Tags:



Parameters:

xmlparser   $parser   xml parser in use
string   $tag   tag being closed

[ Top ]

method tagOpen [line 282]

void tagOpen( xmlparser $parser, string $tag, array $attributes)

Processes the opening tags to select which action to take



Tags:



Parameters:

xmlparser   $parser   xml parser in use
string   $tag   opening tag
array   $attributes   attributes of the opening tag

[ Top ]

method VCLDecodeUnicode [line 384]

void VCLDecodeUnicode( $orgstr)



Parameters:

   $orgstr  

[ Top ]


Documentation generated on Sat, 13 Jun 2009 10:51:00 -0700 by phpDocumentor 1.4.1