Browse Source

statistics: minor update of docs

Olle E. Johansson 11 years ago
parent
commit
fa6154cc34
2 changed files with 11 additions and 10 deletions
  1. 3 2
      modules/statistics/README
  2. 8 8
      modules/statistics/doc/statistics_admin.xml

+ 3 - 2
modules/statistics/README

@@ -107,7 +107,8 @@ modparam("statistics", "variable", "active_calls/no_reset")
    Meaning of the parameters is as follows:
    Meaning of the parameters is as follows:
      * variable - variable to be updated (it can be a string or a
      * variable - variable to be updated (it can be a string or a
        pseudovariable);
        pseudovariable);
-     * value - value to update with; it may be also negative.
+     * value - value to update with; it may be also negative (it can be a
+       string or pseudovariable).
 
 
    This function can be used from ANY_ROUTE.
    This function can be used from ANY_ROUTE.
 
 
@@ -124,7 +125,7 @@ update_stat("$var(a_calls)", "-1");
    Resets to zero the value of the statistic variable.
    Resets to zero the value of the statistic variable.
 
 
    Meaning of the parameters is as follows:
    Meaning of the parameters is as follows:
-     * variable - variable to be reset-ed (it can be a string or a
+     * variable - variable to be reset (it can be a string or a
        pseudovariable).
        pseudovariable).
 
 
    This function can be used from REQUEST_ROUTE, BRANCH_ROUTE,
    This function can be used from REQUEST_ROUTE, BRANCH_ROUTE,

+ 8 - 8
modules/statistics/doc/statistics_admin.xml

@@ -9,7 +9,7 @@
 <chapter>
 <chapter>
   <title>&adminguide;</title>
   <title>&adminguide;</title>
 
 
-  <section>
+  <section id="statistics.overview">
     <title>Overview</title>
     <title>Overview</title>
 
 
     <para>The <acronym>Statistics</acronym> module is a wrapper over the
     <para>The <acronym>Statistics</acronym> module is a wrapper over the
@@ -21,7 +21,7 @@
     implementation of any kind of statistic scenario.</para>
     implementation of any kind of statistic scenario.</para>
   </section>
   </section>
 
 
-  <section>
+  <section id="statistics.dependencies">
     <title>Dependencies</title>
     <title>Dependencies</title>
 
 
     <section>
     <section>
@@ -48,10 +48,10 @@
     </section>
     </section>
   </section>
   </section>
 
 
-  <section>
+  <section id="statistics.parameters">
     <title>Parameters</title>
     <title>Parameters</title>
 
 
-    <section>
+    <section id="statistics.p.variable">
       <title><varname>variable</varname> (string)</title>
       <title><varname>variable</varname> (string)</title>
 
 
       <para>Name of a new statistic variable. The name may be followed by
       <para>Name of a new statistic variable. The name may be followed by
@@ -75,10 +75,10 @@ modparam("statistics", "variable", "active_calls/no_reset")
     </section>
     </section>
   </section>
   </section>
 
 
-  <section>
+  <section id="statistics.functions">
     <title>Functions</title>
     <title>Functions</title>
 
 
-    <section>
+    <section id="statistics.f.update_stat">
       <title><function
       <title><function
       moreinfo="none">update_stat(variable,value)</function></title>
       moreinfo="none">update_stat(variable,value)</function></title>
 
 
@@ -115,7 +115,7 @@ update_stat("$var(a_calls)", "-1");
       </example>
       </example>
     </section>
     </section>
 
 
-    <section>
+    <section id="statistics.f.reset_stat">
       <title><function moreinfo="none">reset_stat(variable)</function></title>
       <title><function moreinfo="none">reset_stat(variable)</function></title>
 
 
       <para>Resets to zero the value of the statistic variable.</para>
       <para>Resets to zero the value of the statistic variable.</para>
@@ -124,7 +124,7 @@ update_stat("$var(a_calls)", "-1");
 
 
       <itemizedlist>
       <itemizedlist>
         <listitem>
         <listitem>
-          <para><emphasis>variable</emphasis> - variable to be reset-ed (it
+          <para><emphasis>variable</emphasis> - variable to be reset (it
           can be a string or a pseudovariable).</para>
           can be a string or a pseudovariable).</para>
         </listitem>
         </listitem>
       </itemizedlist>
       </itemizedlist>