cvs: peardoc /en/package/html/html-template-it settemplate.xml
| From: | Christian Weiske | Date: | Mon, 17 Nov 2008 20:44:14 +0000 |
| Subject: | cvs: peardoc /en/package/html/html-template-it settemplate.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11282@lists.php.net to get a copy of this message | ||
cweiske Mon Nov 17 20:44:14 2008 UTC
Modified files:
/peardoc/en/package/html/html-template-it settemplate.xml
Log:
Fix doc Bug #13935: Possible Typing Error
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-template-it/settemplate.xml?r1=1.5&r2=1.6&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.5
peardoc/en/package/html/html-template-it/settemplate.xml:1.6
--- peardoc/en/package/html/html-template-it/settemplate.xml:1.5 Thu Oct 9 15:16:37 2008
+++ peardoc/en/package/html/html-template-it/settemplate.xml Mon Nov 17 20:44:13 2008
@@ -8,20 +8,20 @@
<funcsynopsis>
<funcsynopsisinfo>
require_once 'HTML/Template/IT.php';
- </funcsynopsisinfo>
+ </funcsynopsisinfo>
<funcprototype>
<funcdef>boolean
<function>HTML_Template_IT::setTemplate</function></funcdef>
<paramdef choice="req">string <parameter>$template</parameter>
</paramdef>
- <paramdef choice="opt">boolean
+ <paramdef choice="opt">boolean
<parameter>$removeUnkownVariables</parameter>
= <initializer>true</initializer>
</paramdef>
- <paramdef choice="opt">boolean
+ <paramdef choice="opt">boolean
<parameter>$removeEmptyBlocks</parameter>
= <initializer>true</initializer>
- </paramdef>
+ </paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
@@ -31,47 +31,47 @@
Loads template from a string and controls the behavior in case of unused
variables and blocks
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.html.html-template-it.settemplate.parameter">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
- <parameter>string $template</parameter> -
+ <parameter>string $template</parameter> -
The content of the template.
</para>
</listitem>
<listitem>
<para>
- <parameter>boolean $removeUnknowVariables</parameter> -
- if &true;, not substituted placeholders in a block will
+ <parameter>boolean $removeUnknowVariables</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
</para>
- </listitem>
+ </listitem>
</itemizedlist>
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.html.html-template-it.settemplate.return">
&title.returns;
<para>
<parameter>boolean</parameter> -
&return.success;
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.html.html-template-it.settemplate.example">
&title.example;
<example><info><title>Script</title></info>
-
+
<programlisting role="php">
<![CDATA[
-<?php
+<?php
require_once "HTML/Template/IT.php";
$data = array
@@ -80,7 +80,7 @@
"1" => array("Martin", "Jansen"),
"2" => array("Alexander", "Merz")
);
-
+
$templateString = <<<EOD
<html>
<table>
@@ -119,17 +119,17 @@
]]>
</programlisting>
</example>
- </refsection>
-
- <refsection xml:id="package.html.html-template-it.settemplate.note">
+ </refsection>
+
+ <refsection xml:id="package.html.html-template-it.settemplate.note">
&title.note;
¬e.notstatic;
- </refsection>
+ </refsection>
<refsection xml:id="package.html.html-template-it.settemplate.see">
&title.see;
<para>
<link linkend="package.html.html-template-it.loadtemplatefile">
- <function>HTML_Template_IT::setTemplatefile</function></link>
+ <function>HTML_Template_IT::loadTemplatefile</function></link>
</para>
- </refsection>
+ </refsection>
</refentry>