Files
smarty/docs/ru/designers/language-custom-functions/language-function-debug.xml
2008-05-25 15:06:11 +00:00

68 lines
2.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 0 Maintainer: freespace Status: ready -->
<sect1 id="language.function.debug">
<title>{debug}</title>
<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>Имя атрибута</entry>
<entry>Тип</entry>
<entry>Обязателен</entry>
<entry>По умолчанию</entry>
<entry>Описание</entry>
</row>
</thead>
<tbody>
<row>
<entry>output</entry>
<entry>string</entry>
<entry>Нет</entry>
<entry><emphasis>javascript</emphasis></entry>
<entry>Тип вывода (html или javascript)</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>
{debug} выводит консоль отладки. Это работает независимо от
значения опции <link linkend="chapter.debugging.console">debug</link>.
Так как этот тэг обрабатывается в процесе выполнения, то возможно
вывести только <link linkend="api.assign">присвоенные</link> переменные,
но не используемые шаблоны.
Но вы видите все переменные, доступные в области видимости текущего
шаблона.
</para>
<para>
См. также
<link linkend="chapter.debugging.console">Отладочная консоль</link>.
</para>
</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
-->