cvs: phpdoc /en/reference/var/functions serialize.xml
| From: | Felipe Pena | Date: | Fri, 30 Nov 2007 11:52:12 +0000 |
| Subject: | cvs: phpdoc /en/reference/var/functions serialize.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-486@lists.php.net to get a copy of this message | ||
felipe Fri Nov 30 11:52:12 2007 UTC
Modified files:
/phpdoc/en/reference/var/functions serialize.xml
Log:
Fixed link to magic methods (bug #43463)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/serialize.xml?r1=1.14&r2=1.15&diff_format=u
Index: phpdoc/en/reference/var/functions/serialize.xml
diff -u phpdoc/en/reference/var/functions/serialize.xml:1.14
phpdoc/en/reference/var/functions/serialize.xml:1.15
--- phpdoc/en/reference/var/functions/serialize.xml:1.14 Wed Jun 20 22:25:34 2007
+++ phpdoc/en/reference/var/functions/serialize.xml Fri Nov 30 11:52:11 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>serialize</refname>
@@ -42,10 +42,11 @@
</para>
<para>
When serializing objects, PHP will attempt to call the member function
- <function>__sleep</function> prior to serialization. This is to allow the
- object to do any last minute clean-up, etc. prior to being serialized.
- Likewise, when the object is restored using <function>unserialize</function>
- the <function>__wakeup</function> member function is called.
+ <link linkend="language.oop5.magic">__sleep</link> prior to
serialization.
+ This is to allow the object to do any last minute clean-up, etc. prior
+ to being serialized. Likewise, when the object is restored using
+ <function>unserialize</function> the <link
+ linkend="language.oop5.magic">__wakeup</link> member function is called.
</para>
</listitem>
</varlistentry>