2004-04-13 08:46:28 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
<!-- $Revision$ -->
|
2004-05-29 21:56:21 +00:00
|
|
|
<sect1 id="language.function.debug">
|
2005-05-25 19:13:20 +00:00
|
|
|
<title>{debug}</title>
|
2006-09-26 02:02:55 +00:00
|
|
|
<para>
|
|
|
|
<varname>{debug}</varname> dumps the debug console to the page. This works
|
|
|
|
regardless of the <link linkend="chapter.debugging.console">debug</link>
|
|
|
|
settings in the php script. Since this gets executed at runtime, this is
|
|
|
|
only able to show the <link linkend="api.assign">assigned</link>
|
|
|
|
variables; not the templates that
|
|
|
|
are in use. However, you can see all the currently available variables
|
|
|
|
within the scope of a template.
|
|
|
|
</para>
|
|
|
|
|
2004-05-29 21:56:21 +00:00
|
|
|
<informaltable frame="all">
|
|
|
|
<tgroup cols="5">
|
|
|
|
<colspec colname="param" align="center" />
|
|
|
|
<colspec colname="type" align="center" />
|
|
|
|
<colspec colname="required" align="center" />
|
|
|
|
<colspec colname="default" align="center" />
|
|
|
|
<colspec colname="desc" />
|
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<entry>Attribute Name</entry>
|
|
|
|
<entry>Type</entry>
|
|
|
|
<entry>Required</entry>
|
|
|
|
<entry>Default</entry>
|
|
|
|
<entry>Description</entry>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
|
|
|
<entry>output</entry>
|
|
|
|
<entry>string</entry>
|
|
|
|
<entry>No</entry>
|
2005-05-19 14:28:28 +00:00
|
|
|
<entry><emphasis>javascript</emphasis></entry>
|
2004-05-29 21:56:21 +00:00
|
|
|
<entry>output type, html or javascript</entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</informaltable>
|
2006-09-26 02:02:55 +00:00
|
|
|
|
2004-05-29 21:56:21 +00:00
|
|
|
<para>
|
2006-09-26 02:02:55 +00:00
|
|
|
See also the
|
|
|
|
<link linkend="chapter.debugging.console">debugging console page</link>.
|
2005-05-23 15:43:01 +00:00
|
|
|
</para>
|
2004-04-13 08:46:28 +00:00
|
|
|
</sect1>
|
|
|
|
<!-- 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
|
|
|
|
-->
|