>> YANA 4 PHP Framework >> Docs For Class SerializeableObject

Class SerializeableObject

Description

SerializeableObject

This is a base class for all entities used in the framework. It provides same basic functionality that is common for all subclasses.

  • access: public
  • abstract:

Located in /includes/class_serializeableobject.php


    
            
Method Summary

Direct descendents

Class Description
BufferedDbStream database API
Counter counter wrapper
FormMailer create and send mails from form data
InputStream «abstract» InputStream
Singleton «abstract» Singleton
SmartTemplate «decorator» SmartTemplate
String_type «datatype» String_type

Methods

copy / clone this object
Description:

Creates a copy of this object. You are encouraged to reimplement this for each subclass.

  • since: 2.8.5
  • access: public

Redefined in descendants as:
compare with another object
boolean equals (
object $another_object
)
List of parameters:
Name Type Description
$another_object object
Description:

Returns bool(true) if this object and $another_object are the same and bool(false) otherwise.

You are encouraged to overwrite this function in subclasses to reflect your implementation.

  • since: 2.8.5
  • access: public

Redefined in descendants as:
get the class name of the instance
string getClass ()
Description:

This function returns the name of the class of this object as a string.

  • since: 2.8.5
  • access: public
serialize this object to a string
string serialize ()
Description:

This calls the PHP function serialize on the object and returns the result. Use unserialize() to revert the string back into an object.

  • access: public
get a string representation of this object
string toString ()
Description:

This function is intended to be called when the object is used in a string context.

You are encouraged to implement this for each derived subclass, to reflect your implementation and purpose of your class.

  • access: public

Redefined in descendants as:

Documentation generated on Fri, 10 Nov 2006 00:35:40 +0100 by phpDocumentor 1.3.0RC4

yana author: Thomas MeyerHomepage: www.all-community.de/pub