didou Sun Jun 12 17:09:55 2005 EDT
Added files:
/phpdoc/en/reference/domxml/functions DomAttribute-set-value.xml
Modified files:
/phpdoc/en/reference/domxml/functions DomAttribute-name.xml
DomAttribute-specified.xml
DomAttribute-value.xml
/phpdoc/entities global.ent
Log:
Add DOMAttribute->set�value() docs
Switch the other DOMAttribute methods to the new structure
Added documentation, pointers and tips to switch to php5 ext/dom
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomAttribute-name.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/domxml/functions/DomAttribute-name.xml
diff -u phpdoc/en/reference/domxml/functions/DomAttribute-name.xml:1.8
phpdoc/en/reference/domxml/functions/DomAttribute-name.xml:1.9
--- phpdoc/en/reference/domxml/functions/DomAttribute-name.xml:1.8 Sun Jun
12 15:19:09 2005
+++ phpdoc/en/reference/domxml/functions/DomAttribute-name.xml Sun Jun 12
17:09:54 2005
@@ -1,23 +1,44 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id='function.domattribute-name'>
<refnamediv>
<refname>DomAttribute->name</refname>
<refpurpose>
- Returns name of attribute
+ Returns the name of attribute
</refpurpose>
</refnamediv>
- <refsect1>
+ <refsect1 role="description">
&reftitle.description;
- <methodsynopsis>
- <type>string</type><methodname>DomAttribute->name</methodname>
- <void/>
- </methodsynopsis>
+ <classsynopsis>
+ <ooclass><classname>DomAttribute</classname></ooclass>
+ <methodsynopsis>
+ <type>string</type><methodname>name</methodname>
+ <void/>
+ </methodsynopsis>
+ </classsynopsis>
<para>
- This function returns the name of the attribute.
+ Gets the name of the attribute.
</para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns the name of the attribute.
+ </para>
+ </refsect1>
+ <refsect1 role="migration">
+ <title>Migrating to PHP 5</title>
+ <para>
+ Use the <property>name</property> property of
+ <classname>DOMAttr</classname>.
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
<para>
- See also <function>domattribute_value</function> for an example.
+ <simplelist>
+ <member><xref linkend="function.domattribute-value" /> for an
example</member>
+ </simplelist>
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomAttribute-specified.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/domxml/functions/DomAttribute-specified.xml
diff -u phpdoc/en/reference/domxml/functions/DomAttribute-specified.xml:1.5
phpdoc/en/reference/domxml/functions/DomAttribute-specified.xml:1.6
--- phpdoc/en/reference/domxml/functions/DomAttribute-specified.xml:1.5 Sun Jun
12 15:19:09 2005
+++ phpdoc/en/reference/domxml/functions/DomAttribute-specified.xml Sun Jun
12 17:09:55 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id='function.domattribute-specified'>
<refnamediv>
<refname>DomAttribute->specified</refname>
@@ -7,14 +7,41 @@
Checks if attribute is specified
</refpurpose>
</refnamediv>
- <refsect1>
+ <refsect1 role="description">
&reftitle.description;
- <methodsynopsis>
- <type>bool</type><methodname>DomAttribute->specified</methodname>
- <void/>
- </methodsynopsis>
+ <classsynopsis>
+ <ooclass><classname>DomAttribute</classname></ooclass>
+ <methodsynopsis>
+ <type>bool</type><methodname>specified</methodname>
+ <void/>
+ </methodsynopsis>
+ </classsynopsis>
<para>
- Check DOM standard for a detailed explanation.
+ Checks if the attribute was explicitly given a value in the original
+ document.
+ </para>
+ <note>
+ <para>
+ This method is not implemented yet.
+ </para>
+ </note>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member>
+ The definition of <ulink
+ url="&url.dom1.attribute-specified;">specified</ulink> in the DOM
+ Recommendations
+ </member>
+ </simplelist>
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomAttribute-value.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/domxml/functions/DomAttribute-value.xml
diff -u phpdoc/en/reference/domxml/functions/DomAttribute-value.xml:1.8
phpdoc/en/reference/domxml/functions/DomAttribute-value.xml:1.9
--- phpdoc/en/reference/domxml/functions/DomAttribute-value.xml:1.8 Sun Jun
12 15:19:09 2005
+++ phpdoc/en/reference/domxml/functions/DomAttribute-value.xml Sun Jun 12
17:09:55 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id='function.domattribute-value'>
<refnamediv>
<refname>DomAttribute->value</refname>
@@ -7,15 +7,21 @@
Returns value of attribute
</refpurpose>
</refnamediv>
- <refsect1>
+ <refsect1 role="description">
&reftitle.description;
- <methodsynopsis>
- <type>mixed</type><methodname>DomAttribute->value</methodname>
- <void/>
- </methodsynopsis>
+ <classsynopsis>
+ <ooclass><classname>DomAttribute</classname></ooclass>
+ <methodsynopsis>
+ <type>string</type><methodname>value</methodname>
+ <void/>
+ </methodsynopsis>
+ </classsynopsis>
<para>
This function returns the value of the attribute.
</para>
+ </refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
<para>
<example>
<title>Getting all the attributes of a node</title>
@@ -50,8 +56,27 @@
</screen>
</example>
</para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns the value of the attribute.
+ </para>
+ </refsect1>
+ <refsect1 role="migration">
+ <title>Migrating to PHP 5</title>
+ <para>
+ Use the <property>value</property> property of
+ <classname>DOMAttr</classname>.
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
<para>
- See also <function>domattribute_name</function>.
+ <simplelist>
+ <member><xref linkend="function.domattribute-set-value" /></member>
+ <member><xref linkend="function.domattribute-name" /></member>
+ </simplelist>
</para>
</refsect1>
</refentry>
http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.224&r2=1.225&ty=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.224 phpdoc/entities/global.ent:1.225
--- phpdoc/entities/global.ent:1.224 Sat Jun 11 22:50:14 2005
+++ phpdoc/entities/global.ent Sun Jun 12 17:09:55 2005
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.224 2005/06/12 02:50:14 didou Exp $
+ $Id: global.ent,v 1.225 2005/06/12 21:09:55 didou Exp $
Contains global "macros" for all the XML documents.
@@ -60,6 +60,7 @@
<!ENTITY url.docbook.xml "http://www.oasis-open.org/docbook/xml/">
<!ENTITY url.docbook-dtdref "http://www.docbook.org/tdg/en/html/part2.html">
<!ENTITY url.docbook-intro
"http://www.galassi.org/mark//mydocs/docbook-intro.html">
+<!ENTITY url.dom1.attribute-specified
"http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-862529273">
<!ENTITY url.dom2.spec "http://www.w3.org/DOM/DOMTR#dom2">
<!ENTITY url.dom2.features
"http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/introduction.html#ID-Conformance">
<!ENTITY url.dsssl "http://www.jclark.com/dsssl/">
http://cvs.php.net/co.php/phpdoc/en/reference/domxml/functions/DomAttribute-set-value.xml?r=1.1&p=1
Index: phpdoc/en/reference/domxml/functions/DomAttribute-set-value.xml
+++ phpdoc/en/reference/domxml/functions/DomAttribute-set-value.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id='function.domattribute-set-value'>
<refnamediv>
<refname>DomAttribute->set_value</refname>
<refpurpose>
Sets the value of an attribute
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<classsynopsis>
<ooclass><classname>DomAttribute</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>set_value</methodname>
<methodparam><type>string</type><parameter>content</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
This function sets the value of an attribute.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>content</parameter></term>
<listitem>
<para>
The new value.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="migration">
<title>Migrating to PHP 5</title>
<para>
Set the <property>value</property> property of
<classname>DOMAttr</classname>.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><xref linkend="function.domattribute-value" /></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:"../../../../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
-->