svn: /phpdoc/es/trunk/reference/dom/ domcdatasection/construct.xml domcdatasection.xml

From: Date: Tue, 26 Oct 2010 19:51:38 +0000
Subject: svn: /phpdoc/es/trunk/reference/dom/ domcdatasection/construct.xml domcdatasection.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-3617@lists.php.net to get a copy of this message
seros Tue, 26 Oct 2010 19:51:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304937 Log: Traducción Changed paths: A phpdoc/es/trunk/reference/dom/domcdatasection/ A phpdoc/es/trunk/reference/dom/domcdatasection/construct.xml A phpdoc/es/trunk/reference/dom/domcdatasection.xml Added: phpdoc/es/trunk/reference/dom/domcdatasection/construct.xml =================================================================== --- phpdoc/es/trunk/reference/dom/domcdatasection/construct.xml (rev 0) +++ phpdoc/es/trunk/reference/dom/domcdatasection/construct.xml 2010-10-26 19:51:38 UTC (rev 304937) @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 304887 $ --> +<!-- EN-Revision: 304887 Maintainer: seros Status: ready --> + +<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>Construye un nuevo objeto DOMCdataSection</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <methodname>DOMCdataSection::__construct</methodname> + <methodparam><type>string</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <para> + Contruye un nuevo nodo CDATA. Funciona como la clase + <classname>DOMText</classname>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <variablelist> + <varlistentry> + <term><parameter>value</parameter></term> + <listitem> + <para> + El valor del nodo CDATA. Si no se proporciona, se crea un nodo CDATA vacío. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Crear un nuevo objeto DOMCdataSection</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$dom = new DOMDocument('1.0', 'iso-8859-1'); +$elemento = $dom->appendChild(new DOMElement('root')); +$texto = $elemento->appendChild(new DOMCdataSection('root value')); +echo $dom->saveXML(); /* <?xml version="1.0" encoding="utf-8"?><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 +--> Added: phpdoc/es/trunk/reference/dom/domcdatasection.xml =================================================================== --- phpdoc/es/trunk/reference/dom/domcdatasection.xml (rev 0) +++ phpdoc/es/trunk/reference/dom/domcdatasection.xml 2010-10-26 19:51:38 UTC (rev 304937) @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 304560 $ --> +<!-- EN-Revision: 304560 Maintainer: seros Status: ready --> + +<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>La clase DOMCdataSection</title> + <titleabbrev>DOMCdataSection</titleabbrev> + + <partintro> + +<!-- {{{ DOMCdataSection intro --> + <section xml:id="domcdatasection.intro"> + &reftitle.intro; + <para> + <classname>DOMCdataSection</classname> hereda de + <classname>DOMText</classname> para la representación texturada + de constructores CData. + </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 +-->

« previous php.doc.es (#3617) next »