mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 12:21:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="iso-8859-1"?>
 | |
| <!-- $Revision$ -->
 | |
| <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>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>
 | |
|      <entry><emphasis>html</emphasis></entry>
 | |
|      <entry>output type, html or javascript</entry>
 | |
|     </row>
 | |
|    </tbody>
 | |
|   </tgroup>
 | |
|  </informaltable>
 | |
|  <para>
 | |
|   {debug} dumps the debug console to the page. This works regardless
 | |
|   of the <link linkend="chapter.debugging.console">debug</link>
 | |
|   settings in Smarty. Since this gets executed at runtime, this is
 | |
|   only able to show the assigned variables, not the templates that
 | |
|   are in use. But, you see all the currently available variables
 | |
|   within the scope of this template.
 | |
|  </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
 | |
| --> |