Serializable
PHP Manual

Serializable::serialize

(No version information available, might be only in CVS)

Serializable::serializeString representation of object

Описание

abstract public string Serializable::serialize ( void )

Should return the string representation of the object.

Замечание: This method acts as the destructor of the object. The __destruct() method will not be called after this method.

Список параметров

This function has no parameters.

Возвращаемые значения

Returns the string representation of the object or NULL

Errors/Exceptions

Throws Exception when returning other types then strings and NULL

Смотрите также


Serializable
PHP Manual