svn: /phpdoc/en/trunk/reference/dom/ domcdatasection/construct.xml domcdatasection.xml versions.xml

From: Date: Wed, 20 Oct 2010 10:17:28 +0000
Subject: svn: /phpdoc/en/trunk/reference/dom/ domcdatasection/construct.xml domcdatasection.xml versions.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7272@lists.php.net to get a copy of this message
kalle Wed, 20 Oct 2010 10:17:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304560 Log: Documented DOMCdataSection -- Fixes bug #52491 (missing documentation on DOMCdataSection) Bug: http://bugs.php.net/52491 (Assigned) missing documentation on DOMCdataSection Changed paths: A phpdoc/en/trunk/reference/dom/domcdatasection/ A phpdoc/en/trunk/reference/dom/domcdatasection/construct.xml A phpdoc/en/trunk/reference/dom/domcdatasection.xml U phpdoc/en/trunk/reference/dom/versions.xml Property changes on: phpdoc/en/trunk/reference/dom/domcdatasection ___________________________________________________________________ Added: tsvn:projectlanguage + 1033 Added: phpdoc/en/trunk/reference/dom/domcdatasection/construct.xml =================================================================== --- phpdoc/en/trunk/reference/dom/domcdatasection/construct.xml (rev 0) +++ phpdoc/en/trunk/reference/dom/domcdatasection/construct.xml 2010-10-20 10:17:28 UTC (rev 304560) @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="domcdatasection.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>DOMCdataSection::__construct</refname> + <refpurpose>Constructs a new DOMCdataSection object</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <methodname>DOMCdataSection::__construct</methodname> + <methodparam><type>string</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <para> + Constructs a new CDATA node. This works like the <classname>DOMText</classname> + class. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <variablelist> + <varlistentry> + <term><parameter>value</parameter></term> + <listitem> + <para> + The value of the CDATA node. If not supplied an empty CDATA node is created. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Creating a new DOMCdataSection object</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$dom = new DOMDocument('1.0', 'iso-8859-1'); +$element = $dom->appendChild(new DOMElement('root')); +$text = $element->appendChild(new DOMCdataSection('root value')); +echo $dom->saveXML(); /* <?xml version="1.0" encoding="iso-8859-1"?><root><![CDATA[root value]]></root> */ + +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>DOMText::__construct</methodname></member> + <member><methodname>DOMDocument::createTextNode</methodname></member> + </simplelist> + </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 +--> Property changes on: phpdoc/en/trunk/reference/dom/domcdatasection/construct.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Added: phpdoc/en/trunk/reference/dom/domcdatasection.xml =================================================================== --- phpdoc/en/trunk/reference/dom/domcdatasection.xml (rev 0) +++ phpdoc/en/trunk/reference/dom/domcdatasection.xml 2010-10-20 10:17:28 UTC (rev 304560) @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<phpdoc:classref xml:id="class.domcdatasection" 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 DOMCdataSection class</title> + <titleabbrev>DOMCdataSection</titleabbrev> + + <partintro> + +<!-- {{{ DOMCdataSection intro --> + <section xml:id="domcdatasection.intro"> + &reftitle.intro; + <para> + The <classname>DOMCdataSection</classname> inherits from + <classname>DOMText</classname> for textural representation + of CData constructs. + </para> + </section> +<!-- }}} --> + + <section xml:id="domcdatasection.synopsis"> + &reftitle.classsynopsis; + +<!-- {{{ Synopsis --> + <classsynopsis> + <ooclass><classname>DOMCdataSection</classname></ooclass> + +<!-- {{{ Class synopsis --> + <classsynopsisinfo> + <ooclass> + <classname>DOMCdataSection</classname> + </ooclass> + + <ooclass> + <modifier>extends</modifier> + <classname>DOMText</classname> + </ooclass> + </classsynopsisinfo> +<!-- }}} --> + + + <classsynopsisinfo role="comment">Methods</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domcdatasection')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> + + <classsynopsisinfo role="comment">Inherited methods</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domtext')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> + </classsynopsis> +<!-- }}} --> + + </section> + </partintro> + + &reference.dom.entities.domcdatasection; + +</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 +--> Property changes on: phpdoc/en/trunk/reference/dom/domcdatasection.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Modified: phpdoc/en/trunk/reference/dom/versions.xml =================================================================== --- phpdoc/en/trunk/reference/dom/versions.xml 2010-10-20 10:17:23 UTC (rev 304559) +++ phpdoc/en/trunk/reference/dom/versions.xml 2010-10-20 10:17:28 UTC (rev 304560) @@ -7,6 +7,8 @@ <function name='domattr::__construct' from='PHP 5'/> <function name='domattr::isid' from='PHP 5'/> + <function name='domcdatasection::__construct' from='PHP 5'/> + <function name='domcharacterdata::appenddata' from='PHP 5'/> <function name='domcharacterdata::deletedata' from='PHP 5'/> <function name='domcharacterdata::insertdata' from='PHP 5'/>

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