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

Class: Persistent

Source Location: /classes.inc.php

Class Overview

Object
   |
   --Persistent

Persistent class


Class Details

[line 622]
Persistent class

Base class for persistent objects, which are the ones provide the required features to be serialized/unserialized easily




[ Top ]

Properties

Events

    [none]

JS Events

    [none]

Methods

Constants

    [none]

Child classes:

Component
Component class
SubLabel
LabeledEdit Class
Layout
Layout encapsulation to allow any component to hold
Font
Font encapsulation
Pen
Pen encapsulation
Brush
Brush class
Canvas
Canvas class

Inherited Properties

Inherited Events

Inherited JS Events

Inherited Methods

Class: Object

Object::__construct
Constructor
Object::className
Returns the name of the object class
Object::classNameIs
Check if the object is from a specific class
Object::classParent
Returns the parent class of the object
Object::inheritsFrom
Check if the object inherits from a specific class
Object::methodExists
Check if a method exists
Object::readProperty
Reads a property from the streams
Object::__get
To virtualize properties
Object::__set
To virtualize properties

Properties


property NamePath : string [line 629]

Used to serialize/unserialize

[ Top ]

property Owner : Component [line 648]

Owner of the component, in Persistent always return null

[ Top ]


Events



Javascript Events



Methods


void assign [line 658]

void assign( Persistent $source)

Assing the source properties to this object



Parameters:

Persistent   $source   Object to get assigned to this object

[ Top ]

void assignError [line 679]

void assignError( Persistent $source)

Raises an assignation error



Parameters:

Persistent   $source   Component tried to assign

[ Top ]

void assignTo [line 669]

void assignTo( Persistent $dest)

Assign this object to another object



Overridden in child classes as:

SubLabel::assignTo()
Assign the $dest->caption to the control caption
Font::assignTo()
Assign Font object to another Font object.
Pen::assignTo()
Brush::assignTo()

Parameters:

Persistent   $dest   Object to assign this object to

[ Top ]

void serialize [line 694]

void serialize( )

Stores this object into the session, it uses PHP reflection system to get published properties, the ones that will be stored.

Components need an owner to be serialized




Overridden in child classes as:

SimpleChart::serialize()
DBPaginator::serialize()
DataSet::serialize()

[ Top ]

void unserialize [line 739]

void unserialize( )

Read this object properties from the session, only published properties will be recovered, components need an owner to be unserialized.



Overridden in child classes as:

SimpleChart::unserialize()
DBPaginator::unserialize()
CustomTextField::unserialize()
DataSet::unserialize()

[ Top ]



Documentation generated on Tue, 27 Mar 2007 13:33:30 +0200 by phpDocumentor 1.3.1