cvs: peardoc /en/package/html html-template-sigma.xml /en/package/html/html-template-sigma intro-syntax.xml
/en/package/html/html-template-sigma/html-template-sigma addblock.xml addblockfile.xml blockexists.xml clearvariables.xml errormessage.xml get.xml
getblocklist.xml getcurrentblock.xml getplaceholderlist.xml hideblock.xml html-template-sigma.xml loadtemplatefile.xml parse.xml parsecurrentblock.xml
placeholderexists.xml replaceblock.xml replaceblockfile.xml setcacheroot.xml setcallbackfunction.xml setcurrentblock.xml setglobalvariable.xml
setoption.xml setroot.xml settemplate.xml setvariable.xml show.xml touchblock.xml

From: Date: Wed, 14 Apr 2004 13:24:09 +0000
Subject: cvs: peardoc /en/package/html html-template-sigma.xml /en/package/html/html-template-sigma intro-syntax.xml
/en/package/html/html-template-sigma/html-template-sigma addblock.xml addblockfile.xml blockexists.xml clearvariables.xml errormessage.xml get.xml
getblocklist.xml getcurrentblock.xml getplaceholderlist.xml hideblock.xml html-template-sigma.xml loadtemplatefile.xml parse.xml parsecurrentblock.xml
placeholderexists.xml replaceblock.xml replaceblockfile.xml setcacheroot.xml setcallbackfunction.xml setcurrentblock.xml setglobalvariable.xml
setoption.xml setroot.xml settemplate.xml setvariable.xml show.xml touchblock.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3415@lists.php.net to get a copy of this message
avb Wed Apr 14 09:24:09 2004 EDT Added files: /peardoc/en/package/html/html-template-sigma/html-template-sigma clearvariables.xml Modified files: /peardoc/en/package/html html-template-sigma.xml /peardoc/en/package/html/html-template-sigma intro-syntax.xml /peardoc/en/package/html/html-template-sigma/html-template-sigma addblock.xml addblockfile.xml blockexists.xml errormessage.xml get.xml getblocklist.xml getcurrentblock.xml getplaceholderlist.xml hideblock.xml html-template-sigma.xml loadtemplatefile.xml parse.xml parsecurrentblock.xml placeholderexists.xml replaceblock.xml replaceblockfile.xml setcacheroot.xml setcallbackfunction.xml setcurrentblock.xml setglobalvariable.xml setoption.xml setroot.xml settemplate.xml setvariable.xml show.xml touchblock.xml Log: Updated Sigma docs for release 1.1.0

http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/html/html-template-sigma.xml diff -u peardoc/en/package/html/html-template-sigma.xml:1.3 peardoc/en/package/html/html-template-sigma.xml:1.4 --- peardoc/en/package/html/html-template-sigma.xml:1.3 Tue Oct 14 18:54:22 2003 +++ peardoc/en/package/html/html-template-sigma.xml Wed Apr 14 09:24:05 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <sect1 id="package.html.html-template-sigma"> <title>HTML_Template_Sigma</title> <para>HTML_Template_Sigma: implementation of Integrated Templates API with template 'compilation' added.</para> @@ -21,6 +21,7 @@ &package.html.html-template-sigma.html-template-sigma.addblock; &package.html.html-template-sigma.html-template-sigma.addblockfile; &package.html.html-template-sigma.html-template-sigma.blockexists; +&package.html.html-template-sigma.html-template-sigma.clearvariables; &package.html.html-template-sigma.html-template-sigma.errormessage; &package.html.html-template-sigma.html-template-sigma.get; &package.html.html-template-sigma.html-template-sigma.getblocklist; http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/intro-syntax.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/intro-syntax.xml diff -u peardoc/en/package/html/html-template-sigma/intro-syntax.xml:1.1 peardoc/en/package/html/html-template-sigma/intro-syntax.xml:1.2 --- peardoc/en/package/html/html-template-sigma/intro-syntax.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/intro-syntax.xml Wed Apr 14 09:24:06 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.intro-syntax"> <refnamediv> <refname>Introduction - template syntax</refname> @@ -40,14 +40,14 @@ </para> <para> In Sigma the whole template itself is treated as a virtual block called - &quot;__global__&quot;. Most block-related functions use this block + <literal>&quot;__global__&quot;</literal>. Most block-related functions use this block name as default. </para> </refsect1> <refsect1 id="package.html.html-template-sigma.intro-syntax.include"> <title>&lt;!-- INCLUDE --&gt; statements</title> <para> - It is possible to include a template file from within another template file using an &lt;!-- INCLUDE filename --&gt; statement: + It is possible to include a template file from within another template file using an <literal>&lt;!-- INCLUDE filename --&gt;</literal> statement: <programlisting> <![CDATA[ ... some content ... @@ -55,7 +55,7 @@ ... some more content ... ]]> </programlisting> - When such a template file gets loaded, the &lt;!-- INCLUDE filename.html --&gt; will be replaced by contents of <filename>filename.html</filename>. + When such a template file gets loaded, the <literal>&lt;!-- INCLUDE filename.html --&gt;</literal> will be replaced by contents of <filename>filename.html</filename>. </para> <para> Some things to note: @@ -64,7 +64,7 @@ <para>Although this functionality is implemented using <link linkend="package.html.html-template-sigma.html-template-sigma.addblockfile"><function>addBlockfile</function></link>, unlike <function>addBlockfile</function> no new blocks are created in the template.</para> </listitem> <listitem> - <para>&lt;!-- INCLUDE --&gt; calls are processed before any variable substitution can take place. So &lt;!-- INCLUDE {placeholder} --&gt; will not work unless you actually have a file named <filename>{placeholder}</filename> and want to load it.</para> + <para><literal>&lt;!-- INCLUDE --&gt;</literal> calls are processed before any variable substitution can take place. So <literal>&lt;!-- INCLUDE {placeholder} --&gt;</literal> will not work unless you actually have a file named <filename>{placeholder}</filename> and want to load it.</para> </listitem> </itemizedlist> </para> @@ -93,9 +93,34 @@ but not blocks or other function calls. </para> </refsect1> + + <refsect1 id="package.html.html-template-sigma.intro-syntax.callback-shorthand"> + <title>Shorthand for template functions</title> + <para> + Since release 1.1.0, instead of using + <programlisting> +func_callback({var}) + </programlisting> + you can write + <programlisting> +{var:callback} + </programlisting> + There are 3 automatically registered template functions +<itemizedlist> + <listitem><simpara>'h' for <ulink url="&url.php.lookup;htmlspecialchars"><function>htmlspecialchars</function></ulink></simpara></listitem> + <listitem><simpara>'u' for <ulink url="&url.php.lookup;urlencode"><function>urlencode</function></ulink></simpara></listitem> + <listitem><simpara>'j' for a method of <classname>Sigma</classname> that escapes the string for usage in Javascript string constants.</simpara></listitem> +</itemizedlist> + </para> + <para>Thus, if you add <literal>{var:h}</literal> placeholder to the template, var will be have unsafe characters replaced by corresponding HTML entitites.</para> + </refsect1> <refsect1 id="package.html.html-template-sigma.intro-syntax.example"> <title>Usage Example</title> + <note> + <title>Other usage examples</title> + <para>There are several usage examples in the package archive that cover most of its functionality. You are encouraged to review them along with the docs.</para> + </note> <example> <title>The <filename>table.html</filename> template file</title> <programlisting> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/addblock.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/addblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/addblock.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/addblock.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/addblock.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/addblock.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.addblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::addBlock</function></refname> + <refname>addBlock()</refname> <refpurpose>Adds a block to the template</refpurpose> </refnamediv> <refsynopsisdiv> @@ -19,7 +19,7 @@ </refsynopsisdiv> <refsect1 id="package.html.html-template-sigma.html-template-sigma.addblock.desc"> &title.desc; - <para>Adds a block to the template changing a variable placeholder to a block placeholder. This means that a new block will be integrated into the template in place of a variable placeholder. The variable placeholder will be removed and the new block will behave in the same way as if it was inside the original template.</para><para>The block content must not start with &lt;!-- BEGIN blockname --&gt; and end with &lt;!-- END blockname --&gt;, if it does the error will be thrown.</para> + <para>Adds a block to the template changing a variable placeholder to a block placeholder. This means that a new block will be integrated into the template in place of a variable placeholder. The variable placeholder will be removed and the new block will behave in the same way as if it was inside the original template.</para><para>The block content must not start with <literal>&lt;!-- BEGIN blockname --&gt;</literal> and end with <literal>&lt;!-- END blockname --&gt;</literal>, if it does the error will be thrown.</para> </refsect1> <refsect1 id="package.html.html-template-sigma.html-template-sigma.addblock.param"> &title.param; http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/addblockfile.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/addblockfile.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/addblockfile.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/addblockfile.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/addblockfile.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/addblockfile.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.addblockfile"> <refnamediv> - <refname><function>HTML_Template_Sigma::addBlockfile</function></refname> + <refname>addBlockfile()</refname> <refpurpose>Adds a block contained in the file to the template</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/blockexists.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/blockexists.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/blockexists.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/blockexists.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/blockexists.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/blockexists.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.blockexists"> <refnamediv> - <refname><function>HTML_Template_Sigma::blockExists</function></refname> + <refname>blockExists()</refname> <refpurpose>Checks if the block exists in the template</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/errormessage.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/errormessage.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/errormessage.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/errormessage.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/errormessage.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/errormessage.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.errormessage"> <refnamediv> - <refname><function>HTML_Template_Sigma::errorMessage</function></refname> + <refname>errorMessage()</refname> <refpurpose>Returns a textual error message for an error code</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/get.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/get.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/get.xml:1.3 peardoc/en/package/html/html-template-sigma/html-template-sigma/get.xml:1.4 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/get.xml:1.3 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/get.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.get"> <refnamediv> - <refname><function>HTML_Template_Sigma::get</function></refname> + <refname>get()</refname> <refpurpose>Returns a block with all replacements done.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/getblocklist.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/getblocklist.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/getblocklist.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/getblocklist.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/getblocklist.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/getblocklist.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.getblocklist"> <refnamediv> - <refname><function>HTML_Template_Sigma::getBlockList</function></refname> + <refname>getBlockList()</refname> <refpurpose>Returns a list of blocks within a template.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/getcurrentblock.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/getcurrentblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/getcurrentblock.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/getcurrentblock.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/getcurrentblock.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/getcurrentblock.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.getcurrentblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::getCurrentBlock</function></refname> + <refname>getCurrentBlock()</refname> <refpurpose>Returns the current block name</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/getplaceholderlist.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/getplaceholderlist.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/getplaceholderlist.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/getplaceholderlist.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/getplaceholderlist.xml:1.1 Mon May 19 16:16:49 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/getplaceholderlist.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.getplaceholderlist"> <refnamediv> - <refname><function>HTML_Template_Sigma::getPlaceholderList</function></refname> + <refname>getPlaceholderList()</refname> <refpurpose>Returns a list of placeholders within a block.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/hideblock.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/hideblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/hideblock.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/hideblock.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/hideblock.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/hideblock.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.hideblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::hideBlock</function></refname> + <refname>hideBlock()</refname> <refpurpose>Hides the block even if it is not &quot;empty&quot;.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/html-template-sigma.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/html-template-sigma.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/html-template-sigma.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/html-template-sigma.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/html-template-sigma.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/html-template-sigma.xml Wed Apr 14 09:24:06 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.html-template-sigma"> <refnamediv> - <refname>constructor <function>HTML_Template_Sigma::HTML_Template_Sigma</function></refname> + <refname>constructor HTML_Template_Sigma()</refname> <refpurpose>constructor</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/loadtemplatefile.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/loadtemplatefile.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/loadtemplatefile.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/loadtemplatefile.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/loadtemplatefile.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/loadtemplatefile.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.loadtemplatefile"> <refnamediv> - <refname><function>HTML_Template_Sigma::loadTemplateFile</function></refname> + <refname>loadTemplateFile()</refname> <refpurpose>Loads a template file.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/parse.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/parse.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/parse.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/parse.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/parse.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/parse.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.parse"> <refnamediv> - <refname><function>HTML_Template_Sigma::parse</function></refname> + <refname>parse()</refname> <refpurpose>Parses the given block.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/parsecurrentblock.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/parsecurrentblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/parsecurrentblock.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/parsecurrentblock.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/parsecurrentblock.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/parsecurrentblock.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.parsecurrentblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::parseCurrentBlock</function></refname> + <refname>parseCurrentBlock()</refname> <refpurpose>Parses the current block</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/placeholderexists.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/placeholderexists.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/placeholderexists.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/placeholderexists.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/placeholderexists.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/placeholderexists.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.placeholderexists"> <refnamediv> - <refname><function>HTML_Template_Sigma::placeholderExists</function></refname> + <refname>placeholderExists()</refname> <refpurpose>Checks whether the placeholder exists</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblock.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblock.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblock.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblock.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblock.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.replaceblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::replaceBlock</function></refname> + <refname>replaceBlock()</refname> <refpurpose>Replaces an existing block with new content.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblockfile.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblockfile.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblockfile.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblockfile.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblockfile.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/replaceblockfile.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.replaceblockfile"> <refnamediv> - <refname><function>HTML_Template_Sigma::replaceBlockfile</function></refname> + <refname>replaceBlockfile()</refname> <refpurpose>Replaces an existing block with new content from a file.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setcacheroot.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setcacheroot.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setcacheroot.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/setcacheroot.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setcacheroot.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setcacheroot.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setcacheroot"> <refnamediv> - <refname><function>HTML_Template_Sigma::setCacheRoot</function></refname> + <refname>setCacheRoot()</refname> <refpurpose>Sets the directory to cache &quot;prepared&quot; templates in.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setcallbackfunction.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setcallbackfunction.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setcallbackfunction.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/setcallbackfunction.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setcallbackfunction.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setcallbackfunction.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setcallbackfunction"> <refnamediv> - <refname><function>HTML_Template_Sigma::setCallbackFunction</function></refname> + <refname>setCallbackFunction()</refname> <refpurpose>Sets a callback function.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setcurrentblock.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setcurrentblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setcurrentblock.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/setcurrentblock.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setcurrentblock.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setcurrentblock.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setcurrentblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::setCurrentBlock</function></refname> + <refname>setCurrentBlock()</refname> <refpurpose>Sets the name of the current block.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setglobalvariable.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setglobalvariable.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setglobalvariable.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/setglobalvariable.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setglobalvariable.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setglobalvariable.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setglobalvariable"> <refnamediv> - <refname><function>HTML_Template_Sigma::setGlobalVariable</function></refname> + <refname>setGlobalVariable()</refname> <refpurpose>Sets a global variable value.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setoption.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setoption.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setoption.xml:1.3 peardoc/en/package/html/html-template-sigma/html-template-sigma/setoption.xml:1.4 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setoption.xml:1.3 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setoption.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setoption"> <refnamediv> - <refname><function>HTML_Template_Sigma::setOption</function></refname> + <refname>setOption()</refname> <refpurpose>Sets the option for the template class</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setroot.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setroot.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setroot.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/setroot.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setroot.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setroot.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setroot"> <refnamediv> - <refname><function>HTML_Template_Sigma::setRoot</function></refname> + <refname>setRoot()</refname> <refpurpose>Sets the file root for templates.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/settemplate.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/settemplate.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/settemplate.xml:1.2 peardoc/en/package/html/html-template-sigma/html-template-sigma/settemplate.xml:1.3 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/settemplate.xml:1.2 Wed Aug 13 12:01:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/settemplate.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.settemplate"> <refnamediv> - <refname><function>HTML_Template_Sigma::setTemplate</function></refname> + <refname>setTemplate()</refname> <refpurpose>Sets the template.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/setvariable.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/setvariable.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/setvariable.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/setvariable.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/setvariable.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/setvariable.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.setvariable"> <refnamediv> - <refname><function>HTML_Template_Sigma::setVariable</function></refname> + <refname>setVariable()</refname> <refpurpose>Sets a variable value.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/show.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/show.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/show.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/show.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/show.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/show.xml Wed Apr 14 09:24:07 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.show"> <refnamediv> - <refname><function>HTML_Template_Sigma::show</function></refname> + <refname>show()</refname> <refpurpose>Prints a block with all replacements done.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/touchblock.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/touchblock.xml diff -u peardoc/en/package/html/html-template-sigma/html-template-sigma/touchblock.xml:1.1 peardoc/en/package/html/html-template-sigma/html-template-sigma/touchblock.xml:1.2 --- peardoc/en/package/html/html-template-sigma/html-template-sigma/touchblock.xml:1.1 Mon Apr 28 10:21:03 2003 +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/touchblock.xml Wed Apr 14 09:24:08 2004 @@ -1,7 +1,7 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.touchblock"> <refnamediv> - <refname><function>HTML_Template_Sigma::touchBlock</function></refname> + <refname>touchBlock()</refname> <refpurpose>Preserves the block even if empty blocks should be removed.</refpurpose> </refnamediv> <refsynopsisdiv> http://cvs.php.net/co.php/peardoc/en/package/html/html-template-sigma/html-template-sigma/clearvariables.xml?r=1.1&p=1 Index: peardoc/en/package/html/html-template-sigma/html-template-sigma/clearvariables.xml +++ peardoc/en/package/html/html-template-sigma/html-template-sigma/clearvariables.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-template-sigma.html-template-sigma.clearvariables"> <refnamediv> <refname>clearVariables()</refname> <refpurpose>Clears the variables</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/Sigma.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Template_Sigma::clearVariables</function></funcdef> <void/> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-sigma.html-template-sigma.clearvariables.desc"> &title.desc; <para>Global variables are not affected, only the ones set via <link linkend="package.html.html-template-sigma.html-template-sigma.setvariable"><function>setVariable</function></link>. The method is useful when you add a lot of variables via <link linkend="package.html.html-template-sigma.html-template-sigma.setvariable"><function>setVariable</function></link> and are not sure whether all of them appear in the block you <link linkend="package.html.html-template-sigma.html-template-sigma.parse"><function>parse</function></link>. If you clear the variables after <link linkend="package.html.html-template-sigma.html-template-sigma.parse"><function>parse</function></link>, you don't risk them suddenly showing up in other blocks.</para> </refsect1> <refsect1 id="package.html.html-template-sigma.html-template-sigma.clearvariables.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.html.html-template-sigma.html-template-sigma.clearvariables.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- 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 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 -->
« previous php.pear.doc (#3415) next »