upgrading to docbook 4

now make test doesnt report any error
This commit is contained in:
nlopess
2004-03-22 18:40:49 +00:00
parent fee25a1e5f
commit 220de7c6ac

View File

@@ -707,20 +707,19 @@ $smarty->clear_all_cache();</programlisting>
$smarty->clear_assign("Name"); $smarty->clear_assign("Name");
// clear multiple variables // clear multiple variables
$smarty->clear_assign(array("Name","Address","Zip"));</programlisting> $smarty->clear_assign(array("Name","Address","Zip"));
</programlisting>
</example> </example>
</sect1> </sect1>
<sect1 id="api.clear.cache"> <sect1 id="api.clear.cache">
<title>clear_cache</title> <title>clear_cache</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>void</type><methodname>clear_cache</methodname>
<funcdef>void <function>clear_cache</function></funcdef> <methodparam choice="opt"><type>string</type><parameter>template</parameter></methodparam>
<paramdef>string <parameter>template</parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>cache id</parameter></methodparam>
<paramdef>string <parameter><optional>cache id</optional></parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>compile id</parameter></methodparam>
<paramdef>string <parameter><optional>compile id</optional></parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>expire time</parameter></methodparam>
<paramdef>int <parameter><optional>expire time</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This clears the cache for a specific template. If you have This clears the cache for a specific template. If you have
multiple caches for this template, you can clear a specific multiple caches for this template, you can clear a specific
@@ -744,14 +743,12 @@ $smarty->clear_cache("index.tpl","CACHEID");</programlisting>
</sect1> </sect1>
<sect1 id="api.clear.compiled.tpl"> <sect1 id="api.clear.compiled.tpl">
<title>clear_compiled_tpl</title> <title>clear_compiled_tpl</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>void</type><methodname>clear_compiled_tpl</methodname>
<funcdef>void <function>clear_compiled_tpl</function></funcdef> <methodparam choice="opt"><type>string</type><parameter>tpl_file</parameter></methodparam>
<paramdef>string <parameter><optional>tpl_file</optional></parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
<paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>exp_time</parameter></methodparam>
<paramdef>int <parameter><optional>exp_time</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This clears the compiled version of the specified template This clears the compiled version of the specified template
resource, or all compiled template files if one is not specified. resource, or all compiled template files if one is not specified.
@@ -773,12 +770,10 @@ $smarty->clear_compiled_tpl();</programlisting>
</sect1> </sect1>
<sect1 id="api.clear.config"> <sect1 id="api.clear.config">
<title>clear_config</title> <title>clear_config</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>void</type><methodname>clear_config</methodname>
<funcdef>void <function>clear_config</function></funcdef> <methodparam choice="opt"><type>string</type><parameter>var</parameter></methodparam>
<paramdef>string <parameter><optional>var</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This clears all assigned config variables. If a variable name is This clears all assigned config variables. If a variable name is
supplied, only that variable is cleared. supplied, only that variable is cleared.
@@ -795,13 +790,11 @@ $smarty->clear_config('foobar');</programlisting>
</sect1> </sect1>
<sect1 id="api.config.load"> <sect1 id="api.config.load">
<title>config_load</title> <title>config_load</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>void</type><methodname>config_load</methodname>
<funcdef>void <function>config_load</function></funcdef> <methodparam><type>string</type><parameter>file</parameter></methodparam>
<paramdef>string <parameter>file</parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>section</parameter></methodparam>
<paramdef>string <parameter><optional>section</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This loads config file data and assigns it to the template. This This loads config file data and assigns it to the template. This
works identical to the template <link works identical to the template <link
@@ -831,14 +824,12 @@ $smarty->config_load('my.conf','foobar');</programlisting>
</sect1> </sect1>
<sect1 id="api.display"> <sect1 id="api.display">
<title>display</title> <title>display</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>void</type><methodname>display</methodname>
<funcdef>void <function>display</function></funcdef> <methodparam><type>string</type><parameter>template</parameter></methodparam>
<paramdef>string <parameter>template</parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
<paramdef>string <parameter><optional>cache_id</optional></parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
<paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This displays the template. Supply a valid <link This displays the template. Supply a valid <link
linkend="template.resources">template resource</link> linkend="template.resources">template resource</link>
@@ -910,14 +901,12 @@ $smarty->display("db:header.tpl");</programlisting>
</sect1> </sect1>
<sect1 id="api.fetch"> <sect1 id="api.fetch">
<title>fetch</title> <title>fetch</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>string</type><methodname>fetch</methodname>
<funcdef>string <function>fetch</function></funcdef> <methodparam><type>string</type><parameter>template</parameter></methodparam>
<paramdef>string <parameter>template</parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
<paramdef>string <parameter><optional>cache_id</optional></parameter></paramdef> <methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
<paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This returns the template output instead of displaying it. This returns the template output instead of displaying it.
Supply a valid <link Supply a valid <link
@@ -974,12 +963,10 @@ echo $output;</programlisting>
</sect1> </sect1>
<sect1 id="api.get.config.vars"> <sect1 id="api.get.config.vars">
<title>get_config_vars</title> <title>get_config_vars</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>array</type><methodname>get_config_vars</methodname>
<funcdef>array <function>get_config_vars</function></funcdef> <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
<paramdef>string <parameter><optional>varname</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This returns the given loaded config variable value. If no parameter This returns the given loaded config variable value. If no parameter
is given, an array of all loaded config variables is returned. is given, an array of all loaded config variables is returned.
@@ -1024,12 +1011,10 @@ function smarty_block_foo($params, &amp;$smarty) {
</sect1> </sect1>
<sect1 id="api.get.template.vars"> <sect1 id="api.get.template.vars">
<title>get_template_vars</title> <title>get_template_vars</title>
<funcsynopsis> <methodsynopsis>
<funcprototype> <type>array</type><methodname>get_template_vars</methodname>
<funcdef>array <function>get_template_vars</function></funcdef> <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
<paramdef>string <parameter><optional>varname</optional></parameter></paramdef> </methodsynopsis>
</funcprototype>
</funcsynopsis>
<para> <para>
This returns the given assigned variable value. If no parameter This returns the given assigned variable value. If no parameter
is given, an array of all assigned variables is returned. is given, an array of all assigned variables is returned.