Serializable
PHP Manual

Serializable::serialize

(PHP 5 >= 5.1.0)

Serializable::serializeString representation of object

Opis

abstract public string Serializable::serialize ( void )

Should return the string representation of the object.

Informacja:

This method acts as the destructor of the object. The __destruct() method will not be called after this method.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

Returns the string representation of the object or NULL

Błędy/Wyjątki

Throws Exception when returning other types than strings and NULL.

Zobacz też:


Serializable
PHP Manual