cvs: peardoc /en/package/xml xml-statistics.xml /en/package/xml/xml-statistics/xml-statistics countexternalentitiy.xml countpi.xml getmaxdepth.xml
| From: | Stephan Schmidt | Date: | Sat, 01 Nov 2003 19:56:28 +0000 |
| Subject: | cvs: peardoc /en/package/xml xml-statistics.xml /en/package/xml/xml-statistics/xml-statistics countexternalentitiy.xml countpi.xml getmaxdepth.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1859@lists.php.net to get a copy of this message | ||
schst Sat Nov 1 14:56:28 2003 EDT
Added files:
/peardoc/en/package/xml/xml-statistics/xml-statistics
countexternalentitiy.xml
countpi.xml
getmaxdepth.xml
Modified files:
/peardoc/en/package/xml xml-statistics.xml
Log:
added 3 pages to XML_Statistics docs
Index: peardoc/en/package/xml/xml-statistics.xml
diff -u peardoc/en/package/xml/xml-statistics.xml:1.4 peardoc/en/package/xml/xml-statistics.xml:1.5
--- peardoc/en/package/xml/xml-statistics.xml:1.4 Sat Nov 1 14:35:14 2003
+++ peardoc/en/package/xml/xml-statistics.xml Sat Nov 1 14:56:27 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<sect1 id="package.xml.xml-statistics">
<title>XML_Statistics</title>
@@ -12,6 +12,9 @@
&package.xml.xml-statistics.xml-statistics.analyzestring;
&package.xml.xml-statistics.xml-statistics.counttag;
&package.xml.xml-statistics.xml-statistics.counttagsindepth;
+ &package.xml.xml-statistics.xml-statistics.countpi;
+ &package.xml.xml-statistics.xml-statistics.countexternalentity;
+ &package.xml.xml-statistics.xml-statistics.getmaxdepth;
&package.xml.xml-statistics.xml-statistics.countattribute;
&package.xml.xml-statistics.xml-statistics.countdatachunks;
&package.xml.xml-statistics.xml-statistics.getcdatalength;
Index: peardoc/en/package/xml/xml-statistics/xml-statistics/countexternalentitiy.xml
+++ peardoc/en/package/xml/xml-statistics/xml-statistics/countexternalentitiy.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-statistics.xml-statistics.countexternalentity">
<refnamediv>
<refname><function>XML_Statistics::countExternalEntity</function></refname>
<refpurpose>count the occurences of an external entitity</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'XML/Statistics.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>integer
<function>XML_Statistics::countExternalEntity</function></funcdef>
<paramdef>string <parameter><optional>$name =
null</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1
id="package.xml.xml-statistics.xml-statistics.countexternalentity.desc">
&title.desc;
<para>
Counts how often a certain external is used in the document. If no name is specified ot will
count the total number of external entities.
</para>
</refsect1>
<refsect1
id="package.xml.xml-statistics.xml-statistics.countexternalentity.param">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $name</parameter> - name of the external entity, wihtout
'&' and ';'
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1
id="package.xml.xml-statistics.xml-statistics.countexternalentity.return">
&title.returns;
<para>
<emphasis>integer</emphasis> occurences of the external entity
</para>
</refsect1>
<refsect1
id="package.xml.xml-statistics.xml-statistics.countexternalentity.note">
&title.note;
¬e.notstatic;
</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
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
-->
Index: peardoc/en/package/xml/xml-statistics/xml-statistics/countpi.xml
+++ peardoc/en/package/xml/xml-statistics/xml-statistics/countpi.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-statistics.xml-statistics.countpi">
<refnamediv>
<refname><function>XML_Statistics::countPI</function></refname>
<refpurpose>count the occurences of a processing instruction</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'XML/Statistics.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>integer
<function>XML_Statistics::countPI</function></funcdef>
<paramdef>string <parameter><optional>$target =
null</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.xml.xml-statistics.xml-statistics.countpi.desc">
&title.desc;
<para>
Counts how often a certain processing instruction (e.g. <?PHP) is used in the document.
The target is the 'language' of the processing instruction. You only need to specify
the name,
without the leading question mark. If no target is specified it will count the total number of
processing instructions.
</para>
</refsect1>
<refsect1 id="package.xml.xml-statistics.xml-statistics.countpi.param">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $target</parameter> - target of the processing instruction
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.xml.xml-statistics.xml-statistics.countpi.return">
&title.returns;
<para>
<emphasis>integer</emphasis> occurences of the processing instruction
</para>
</refsect1>
<refsect1 id="package.xml.xml-statistics.xml-statistics.countpi.note">
&title.note;
¬e.notstatic;
</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
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
-->
Index: peardoc/en/package/xml/xml-statistics/xml-statistics/getmaxdepth.xml
+++ peardoc/en/package/xml/xml-statistics/xml-statistics/getmaxdepth.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-statistics.xml-statistics.getmaxdepth">
<refnamediv>
<refname><function>XML_Statistics::getMaxDepth</function></refname>
<refpurpose>get the maximum nesting level</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'XML/Statistics.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>integer
<function>XML_Statistics::getMaxDepth</function></funcdef>
<paramdef></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.xml.xml-statistics.xml-statistics.getmaxdepth.desc">
&title.desc;
<para>
The nesting level of a document tells you the maximum depth of the tags in the document.
</para>
</refsect1>
<refsect1 id="package.xml.xml-statistics.xml-statistics.getmaxdepth.param">
&title.param;
<para>
This method does not accept any parameters.
</para>
</refsect1>
<refsect1 id="package.xml.xml-statistics.xml-statistics.getmaxdepth.return">
&title.returns;
<para>
<emphasis>integer</emphasis> maximum nesting level.
</para>
</refsect1>
<refsect1 id="package.xml.xml-statistics.xml-statistics.getmaxdepth.note">
&title.note;
¬e.notstatic;
</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
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
-->