YANA 4 PHP FrameworkDocs For Class SerializeableObject

### Class SerializeableObject

#### Description

SerializeableObject

- access: public
- abstract:

Located in /includes/class_serializeableobject.php

#### Direct descendents

Class | Description
--- | ---
BufferedDbStream | database API
FormMailer | create and send mails from form data
InputStream | «abstract» InputStream
Singleton | «abstract» Singleton
SmartTemplate | SmartTemplate

#### Method Summary

string serialize ()
string toString ()

#### Methods

##### serialize

string serialize ()

serialize this object to a string

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

##### toString

string toString ()

«abstract» get a string representation of this object

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

It is abstract, so you are to implement it for each derived sub-class.

- abstract:
- access: public

Redefined in descendants as:

- BufferedDbStream::toString() : get CSV string from a table
- InputStream::toString() : «abstract» toString
- DirStream::toString() : toString
- SecureInputStream::toString() : toString
- ConfigFile::toString() : get a string representation
- DatFile::toString() : return file content as string (if available)
- VDrive::toString() : get string represenation of a virtual drive

Documentation generated on Sat, 16 Sep 2006 17:06:04 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas Meyerwww.all-community.de/pub