cvs: peardoc /en/package/php/php-functioncalltracer basic.xml
| From: | Michel Corne | Date: | Wed, 16 Jan 2008 21:01:09 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-functioncalltracer basic.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10411@lists.php.net to get a copy of this message | ||
mcorne Wed Jan 16 21:01:09 2008 UTC
Modified files:
/peardoc/en/package/php/php-functioncalltracer basic.xml
Log:
Fixed example
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-functioncalltracer/basic.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/php/php-functioncalltracer/basic.xml
diff -u peardoc/en/package/php/php-functioncalltracer/basic.xml:1.3
peardoc/en/package/php/php-functioncalltracer/basic.xml:1.4
--- peardoc/en/package/php/php-functioncalltracer/basic.xml:1.3 Mon Jan 14 11:00:12 2008
+++ peardoc/en/package/php/php-functioncalltracer/basic.xml Wed Jan 16 21:01:09 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.php.php-functioncalltracer.basic">
<refnamediv>
<refname>Basic Use</refname>
@@ -11,24 +11,24 @@
<title>Overview</title>
<para>
- PHP_FunctionCallTracer::traceArguments() is used to trace the function arguments.
- There is no need to pass the function arguments to PHP_FunctionCallTracer::traceArguments()
+ <function class="PHP_FunctionCallTracer">traceArguments</function> is used
to trace the function arguments.
+ There is no need to pass the function arguments to <function
class="PHP_FunctionCallTracer">traceArguments</function>
to trace them.
- Note that PHP_FunctionCallTracer::traceArguments() may not be used, if the function does not
+ Note that <function
class="PHP_FunctionCallTracer">traceArguments</function> may not be used, if the
function does not
call any other function or if the function calls functions that are not being traced.
</para>
<para>
- PHP_FunctionCallTracer::traceVariables() is used to trace variables within the function.
- The variables to trace must be passed as arguments to PHP_FunctionCallTracer::traceVariables().
- PHP_FunctionCallTracer::traceVariables() may be called as many times as required to watch
+ <function class="PHP_FunctionCallTracer">traceVariables</function> is used
to trace variables within the function.
+ The variables to trace must be passed as arguments to <function
class="PHP_FunctionCallTracer">traceVariables</function>.
+ <function class="PHP_FunctionCallTracer">traceVariables</function> may be
called as many times as required to watch
variables value change.
</para>
<para>
- PHP_FunctionCallTracer::traceReturn() is used to trace the variables returned by the function.
- The variables to trace must be passed as arguments to PHP_FunctionCallTracer::traceReturn().
+ <function class="PHP_FunctionCallTracer">traceReturn</function> is used to
trace the variables returned by the function.
+ The variables to trace must be passed as arguments to <function
class="PHP_FunctionCallTracer">traceReturn</function>.
</para>
<para>
- PHP_FunctionCallTracer::putTrace() is used to display the trace to the standard output or
+ <function class="PHP_FunctionCallTracer">putTrace</function> is used to
display the trace to the standard output or
to write it into a file.
</para>
</refsect1>
@@ -47,7 +47,7 @@
<title>The package <filename>package.php</filename></title>
<para>
- Note that checking if <classname>PHP_FunctionCallTracer</classname> is loaded:
+ Note that testing if <classname>PHP_FunctionCallTracer</classname> is loaded:
class_exists('PHP_FunctionCallTracer', false), is optional. It is useful only
if the tracing methods are meant to be left in the code. They will be called only if
<classname>PHP_FunctionCallTracer</classname> is loaded.