svn: /phpdoc/en/trunk/reference/json/ book.xml jsonserializable/jsonserialize.xml jsonserializable.xml

From: Date: Thu, 30 Jun 2011 14:12:25 +0000
Subject: svn: /phpdoc/en/trunk/reference/json/ book.xml jsonserializable/jsonserialize.xml jsonserializable.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8358@lists.php.net to get a copy of this message
vrana Thu, 30 Jun 2011 14:12:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312696 Log: JsonSerializable prototype Changed paths: U phpdoc/en/trunk/reference/json/book.xml A phpdoc/en/trunk/reference/json/jsonserializable/ A phpdoc/en/trunk/reference/json/jsonserializable/jsonserialize.xml A phpdoc/en/trunk/reference/json/jsonserializable.xml Modified: phpdoc/en/trunk/reference/json/book.xml =================================================================== --- phpdoc/en/trunk/reference/json/book.xml 2011-06-30 14:11:47 UTC (rev 312695) +++ phpdoc/en/trunk/reference/json/book.xml 2011-06-30 14:12:25 UTC (rev 312696) @@ -19,6 +19,7 @@ &reference.json.setup; &reference.json.constants; + &reference.json.jsonserializable; &reference.json.reference; </book> Property changes on: phpdoc/en/trunk/reference/json/jsonserializable ___________________________________________________________________ Added: tsvn:projectlanguage + 1033 Added: phpdoc/en/trunk/reference/json/jsonserializable/jsonserialize.xml =================================================================== --- phpdoc/en/trunk/reference/json/jsonserializable/jsonserialize.xml (rev 0) +++ phpdoc/en/trunk/reference/json/jsonserializable/jsonserialize.xml 2011-06-30 14:12:25 UTC (rev 312696) @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="jsonserializable.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>JsonSerializable::jsonSerialize</refname> + <refpurpose>Specify data which should be serialized to JSON</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>abstract</modifier> <modifier>public</modifier> <type>mixed</type><methodname>JsonSerializable::jsonSerialize</methodname> + <void /> + </methodsynopsis> + <para> + + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Return data which should be serialized by <function>json_encode</function>. + </para> + </refsect1> + + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Added: phpdoc/en/trunk/reference/json/jsonserializable.xml =================================================================== --- phpdoc/en/trunk/reference/json/jsonserializable.xml (rev 0) +++ phpdoc/en/trunk/reference/json/jsonserializable.xml 2011-06-30 14:12:25 UTC (rev 312696) @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<phpdoc:classref xml:id="class.jsonserializable" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> + + <title>The JsonSerializable class</title> + <titleabbrev>JsonSerializable</titleabbrev> + + <partintro> + +<!-- {{{ JsonSerializable intro --> + <section xml:id="jsonserializable.intro"> + &reftitle.intro; + <para> + + </para> + </section> +<!-- }}} --> + + <section xml:id="jsonserializable.synopsis"> + &reftitle.classsynopsis; + +<!-- {{{ Synopsis --> + <classsynopsis> + <ooclass><classname>JsonSerializable</classname></ooclass> + +<!-- {{{ Class synopsis --> + <classsynopsisinfo> + <ooclass> + <classname>JsonSerializable</classname> + </ooclass> + </classsynopsisinfo> +<!-- }}} --> + + <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.jsonserializable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> + </classsynopsis> +<!-- }}} --> + + </section> + + </partintro> + + &reference.json.entities.jsonserializable; + +</phpdoc:classref> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->

« previous php.doc.cvs (#8358) next »