cvs: peardoc /en/package/html/html-template-it loadtemplatefile.xml parse.xml settemplate.xml
| From: | Laurent Laville | Date: | Sat, 27 Dec 2008 09:36:54 +0000 |
| Subject: | cvs: peardoc /en/package/html/html-template-it loadtemplatefile.xml parse.xml settemplate.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11351@lists.php.net to get a copy of this message | ||
farell Sat Dec 27 09:36:54 2008 UTC
Modified files:
/peardoc/en/package/html/html-template-it loadtemplatefile.xml
parse.xml settemplate.xml
Log:
parameter initializer fixed (removed equal sign)
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/loadtemplatefile.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/html/html-template-it/loadtemplatefile.xml diff -u peardoc/en/package/html/html-template-it/loadtemplatefile.xml:1.5 peardoc/en/package/html/html-template-it/loadtemplatefile.xml:1.6 --- peardoc/en/package/html/html-template-it/loadtemplatefile.xml:1.5 Thu Oct 9 15:16:37 2008 +++ peardoc/en/package/html/html-template-it/loadtemplatefile.xml Sat Dec 27 09:36:54 2008 @@ -8,22 +8,20 @@ <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; - </funcsynopsisinfo> + </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>HTML_Template_IT::loadTemplatefile</function> </funcdef> - <paramdef choice="req">string + <paramdef choice="req">string <parameter>$filename</parameter></paramdef> - <paramdef choice="opt">boolean - <parameter> - $removeUnknownVariables</parameter> - = <initializer>true</initializer> + <paramdef choice="opt">boolean + <parameter>$removeUnknownVariables</parameter> + <initializer>true</initializer> </paramdef> - <paramdef choice="opt">boolean - <parameter> - $removeEmptyBlocks</parameter> - = <initializer>true</initializer> + <paramdef choice="opt">boolean + <parameter>$removeEmptyBlocks</parameter> + <initializer>true</initializer> </paramdef> </funcprototype> </funcsynopsis> @@ -33,44 +31,44 @@ <para> Loads a template from a file and generates internal lists for blocks and variables. </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> - <parameter>string $filename</parameter> - + <parameter>string $filename</parameter> - file to load </para> </listitem> <listitem> <para> - <parameter>boolean $removeUnknownVariables</parameter> - - if &true;, not substituted placeholders in a block will + <parameter>boolean $removeUnknownVariables</parameter> - + if &true;, not substituted placeholders in a block will be removed </para> </listitem> <listitem> <para> - <parameter>boolean $removeEmptyBlocks</parameter> - + <parameter>boolean $removeEmptyBlocks</parameter> - if &true;, not touched blocks will be removed. Blocks can be touched with <function>HTML_Template_IT::touchBlock</function>. </para> - </listitem> + </listitem> </itemizedlist> </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.return"> &title.returns; <para> <parameter>boolean</parameter> - &return.success; </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.example"> &title.example; <example><info><title/></info> - + <para>Templatefile main.tpl.htm <programlisting role="html"> <![CDATA[ @@ -130,16 +128,16 @@ </para> </example> </refsection> - - <refsection xml:id="package.html.html-template-it.loadtemplatefile.note"> + + <refsection xml:id="package.html.html-template-it.loadtemplatefile.note"> &title.note; ¬e.notstatic; - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.see"> &title.see; <para> <link linkend="package.html.html-template-it.settemplate"> <function>HTML_Template_IT::setTemplate</function></link> </para> - </refsection> - </refentry> + </refsection> + </refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/parse.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/html/html-template-it/parse.xml diff -u peardoc/en/package/html/html-template-it/parse.xml:1.7 peardoc/en/package/html/html-template-it/parse.xml:1.8 --- peardoc/en/package/html/html-template-it/parse.xml:1.7 Thu Oct 9 15:16:37 2008 +++ peardoc/en/package/html/html-template-it/parse.xml Sat Dec 27 09:36:54 2008 @@ -8,16 +8,16 @@ <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; - </funcsynopsisinfo> + </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Template_IT::parse</function></funcdef> - <paramdef choice="opt">string + <paramdef choice="opt">string <parameter>$block = "__global__"</parameter> </paramdef> - <paramdef choice="opt">boolean + <paramdef choice="opt">boolean <parameter>$flag_recursion</parameter> - = <initializer>false</initializer></paramdef> + <initializer>false</initializer></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -25,28 +25,28 @@ &title.desc; <para> Parses the defined block, performs all substitutions and appends -the result to already parsed blocks. +the result to already parsed blocks. </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> - <parameter>string $block</parameter> - + <parameter>string $block</parameter> - block to parse. When not set the complete template is used. </para> </listitem> <listitem> <para> - <parameter>boolean $flag_recursion</parameter> - + <parameter>boolean $flag_recursion</parameter> - Used internally. Can be ignored </para> - </listitem> + </listitem> </itemizedlist> </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.return"> &title.returns; @@ -54,12 +54,12 @@ <parameter>boolean</parameter> - Returns &true; if there was no placeholder to substitute, otherwise &false; or IT_Error. </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.example"> &title.example; <example><info><title>The template cvsnames.tpl.htm</title></info> - + <programlisting role="html"> <![CDATA[ <html> @@ -69,7 +69,7 @@ <td> {CVS_USERNAME} </td> - <td> + <td> {REALNAME} </td> </tr> @@ -80,7 +80,7 @@ </programlisting> </example> <example><info><title>The script</title></info> - + <programlisting role="php"> <![CDATA[ <?php @@ -88,7 +88,7 @@ $data = array ( - "0" => array("cvs_username" => "pajoye", + "0" => array("cvs_username" => "pajoye", "realname" => "Pierre-Alain Joye"), "1" => array("cvs_username" => "dsp", "realname" => "David Soria Parra") @@ -114,20 +114,20 @@ ]]> </programlisting> </example> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.throws"> &title.throws; <para> <table><title>&title.throws.errortable;</title> - + <tgroup cols="4"> <thead> <row> <entry>Error code</entry> - <entry>Error message</entry> - <entry>Reason</entry> - <entry>Solution</entry> + <entry>Error message</entry> + <entry>Reason</entry> + <entry>Solution</entry> </row> </thead> <tbody> @@ -144,22 +144,22 @@ <entry> Check for typing mistakes in the argument. </entry> - </row> + </row> </tbody> </tgroup> </table> </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.note"> &title.note; ¬e.notstatic; - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.see"> &title.see; <para> <link linkend="package.html.html-template-it.parsecurrentblock"> <function>HTML_Template_it::parseCurrentBlock</function></link> </para> - </refsection> + </refsection> - </refentry> + </refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/settemplate.xml?r1=1.6&r2=1.7&diff_format=u Index: peardoc/en/package/html/html-template-it/settemplate.xml diff -u peardoc/en/package/html/html-template-it/settemplate.xml:1.6 peardoc/en/package/html/html-template-it/settemplate.xml:1.7 --- peardoc/en/package/html/html-template-it/settemplate.xml:1.6 Mon Nov 17 20:44:13 2008 +++ peardoc/en/package/html/html-template-it/settemplate.xml Sat Dec 27 09:36:54 2008 @@ -16,11 +16,11 @@ </paramdef> <paramdef choice="opt">boolean <parameter>$removeUnkownVariables</parameter> - = <initializer>true</initializer> + <initializer>true</initializer> </paramdef> <paramdef choice="opt">boolean <parameter>$removeEmptyBlocks</parameter> - = <initializer>true</initializer> + <initializer>true</initializer> </paramdef> </funcprototype> </funcsynopsis> @@ -132,4 +132,4 @@ <function>HTML_Template_IT::loadTemplatefile</function></link> </para> </refsection> - </refentry> + </refentry> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/loadtemplatefile.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/html/html-template-it/loadtemplatefile.xml diff -u peardoc/en/package/html/html-template-it/loadtemplatefile.xml:1.5 peardoc/en/package/html/html-template-it/loadtemplatefile.xml:1.6 --- peardoc/en/package/html/html-template-it/loadtemplatefile.xml:1.5 Thu Oct 9 15:16:37 2008 +++ peardoc/en/package/html/html-template-it/loadtemplatefile.xml Sat Dec 27 09:36:54 2008 @@ -8,22 +8,20 @@ <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; - </funcsynopsisinfo> + </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>HTML_Template_IT::loadTemplatefile</function> </funcdef> - <paramdef choice="req">string + <paramdef choice="req">string <parameter>$filename</parameter></paramdef> - <paramdef choice="opt">boolean - <parameter> - $removeUnknownVariables</parameter> - = <initializer>true</initializer> + <paramdef choice="opt">boolean + <parameter>$removeUnknownVariables</parameter> + <initializer>true</initializer> </paramdef> - <paramdef choice="opt">boolean - <parameter> - $removeEmptyBlocks</parameter> - = <initializer>true</initializer> + <paramdef choice="opt">boolean + <parameter>$removeEmptyBlocks</parameter> + <initializer>true</initializer> </paramdef> </funcprototype> </funcsynopsis> @@ -33,44 +31,44 @@ <para> Loads a template from a file and generates internal lists for blocks and variables. </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> - <parameter>string $filename</parameter> - + <parameter>string $filename</parameter> - file to load </para> </listitem> <listitem> <para> - <parameter>boolean $removeUnknownVariables</parameter> - - if &true;, not substituted placeholders in a block will + <parameter>boolean $removeUnknownVariables</parameter> - + if &true;, not substituted placeholders in a block will be removed </para> </listitem> <listitem> <para> - <parameter>boolean $removeEmptyBlocks</parameter> - + <parameter>boolean $removeEmptyBlocks</parameter> - if &true;, not touched blocks will be removed. Blocks can be touched with <function>HTML_Template_IT::touchBlock</function>. </para> - </listitem> + </listitem> </itemizedlist> </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.return"> &title.returns; <para> <parameter>boolean</parameter> - &return.success; </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.example"> &title.example; <example><info><title/></info> - + <para>Templatefile main.tpl.htm <programlisting role="html"> <![CDATA[ @@ -130,16 +128,16 @@ </para> </example> </refsection> - - <refsection xml:id="package.html.html-template-it.loadtemplatefile.note"> + + <refsection xml:id="package.html.html-template-it.loadtemplatefile.note"> &title.note; ¬e.notstatic; - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.loadtemplatefile.see"> &title.see; <para> <link linkend="package.html.html-template-it.settemplate"> <function>HTML_Template_IT::setTemplate</function></link> </para> - </refsection> - </refentry> + </refsection> + </refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/parse.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/html/html-template-it/parse.xml diff -u peardoc/en/package/html/html-template-it/parse.xml:1.7 peardoc/en/package/html/html-template-it/parse.xml:1.8 --- peardoc/en/package/html/html-template-it/parse.xml:1.7 Thu Oct 9 15:16:37 2008 +++ peardoc/en/package/html/html-template-it/parse.xml Sat Dec 27 09:36:54 2008 @@ -8,16 +8,16 @@ <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/IT.php'; - </funcsynopsisinfo> + </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Template_IT::parse</function></funcdef> - <paramdef choice="opt">string + <paramdef choice="opt">string <parameter>$block = "__global__"</parameter> </paramdef> - <paramdef choice="opt">boolean + <paramdef choice="opt">boolean <parameter>$flag_recursion</parameter> - = <initializer>false</initializer></paramdef> + <initializer>false</initializer></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -25,28 +25,28 @@ &title.desc; <para> Parses the defined block, performs all substitutions and appends -the result to already parsed blocks. +the result to already parsed blocks. </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> - <parameter>string $block</parameter> - + <parameter>string $block</parameter> - block to parse. When not set the complete template is used. </para> </listitem> <listitem> <para> - <parameter>boolean $flag_recursion</parameter> - + <parameter>boolean $flag_recursion</parameter> - Used internally. Can be ignored </para> - </listitem> + </listitem> </itemizedlist> </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.return"> &title.returns; @@ -54,12 +54,12 @@ <parameter>boolean</parameter> - Returns &true; if there was no placeholder to substitute, otherwise &false; or IT_Error. </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.example"> &title.example; <example><info><title>The template cvsnames.tpl.htm</title></info> - + <programlisting role="html"> <![CDATA[ <html> @@ -69,7 +69,7 @@ <td> {CVS_USERNAME} </td> - <td> + <td> {REALNAME} </td> </tr> @@ -80,7 +80,7 @@ </programlisting> </example> <example><info><title>The script</title></info> - + <programlisting role="php"> <![CDATA[ <?php @@ -88,7 +88,7 @@ $data = array ( - "0" => array("cvs_username" => "pajoye", + "0" => array("cvs_username" => "pajoye", "realname" => "Pierre-Alain Joye"), "1" => array("cvs_username" => "dsp", "realname" => "David Soria Parra") @@ -114,20 +114,20 @@ ]]> </programlisting> </example> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.throws"> &title.throws; <para> <table><title>&title.throws.errortable;</title> - + <tgroup cols="4"> <thead> <row> <entry>Error code</entry> - <entry>Error message</entry> - <entry>Reason</entry> - <entry>Solution</entry> + <entry>Error message</entry> + <entry>Reason</entry> + <entry>Solution</entry> </row> </thead> <tbody> @@ -144,22 +144,22 @@ <entry> Check for typing mistakes in the argument. </entry> - </row> + </row> </tbody> </tgroup> </table> </para> - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.note"> &title.note; ¬e.notstatic; - </refsection> + </refsection> <refsection xml:id="package.html.html-template-it.parse.see"> &title.see; <para> <link linkend="package.html.html-template-it.parsecurrentblock"> <function>HTML_Template_it::parseCurrentBlock</function></link> </para> - </refsection> + </refsection> - </refentry> + </refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/settemplate.xml?r1=1.6&r2=1.7&diff_format=u Index: peardoc/en/package/html/html-template-it/settemplate.xml diff -u peardoc/en/package/html/html-template-it/settemplate.xml:1.6 peardoc/en/package/html/html-template-it/settemplate.xml:1.7 --- peardoc/en/package/html/html-template-it/settemplate.xml:1.6 Mon Nov 17 20:44:13 2008 +++ peardoc/en/package/html/html-template-it/settemplate.xml Sat Dec 27 09:36:54 2008 @@ -16,11 +16,11 @@ </paramdef> <paramdef choice="opt">boolean <parameter>$removeUnkownVariables</parameter> - = <initializer>true</initializer> + <initializer>true</initializer> </paramdef> <paramdef choice="opt">boolean <parameter>$removeEmptyBlocks</parameter> - = <initializer>true</initializer> + <initializer>true</initializer> </paramdef> </funcprototype> </funcsynopsis> @@ -132,4 +132,4 @@ <function>HTML_Template_IT::loadTemplatefile</function></link> </para> </refsection> - </refentry> + </refentry> \ No newline at end of file