restore mistakenly committed entries (sorry)

This commit is contained in:
boots
2004-06-16 01:23:13 +00:00
parent a9612e828d
commit 4a007b3d3a

View File

@@ -9,25 +9,17 @@
<title /> <title />
<methodsynopsis> <methodsynopsis>
<type>void</type><methodname>register_object</methodname> <type>void</type><methodname>register_object</methodname>
<methodparam><type>string</type><parameter>obj_name</parameter></methodparam> <methodparam><type>string</type><parameter>object_name</parameter></methodparam>
<methodparam><type>object</type><parameter>object</parameter></methodparam> <methodparam><type>object</type><parameter>object</parameter></methodparam>
<methodparam><type>array</type><parameter>allowed_methods_properties</parameter></methodparam>
<methodparam><type>boolean</type><parameter>format</parameter></methodparam>
<methodparam><type>array</type><parameter>block_methods</parameter></methodparam>
</methodsynopsis> </methodsynopsis>
<para> <para>
Register an object with SmartyValidate for use in isCustom criteria. This is to register an object for use in the templates. See the
Typically do this right after issuing <link linkend="api.connect">connect()</link>. <link linkend="advanced.features.objects">object section</link>
See the <link linkend="api.register.criteria">register_criteria()</link> of the manual for examples.
method for more details.
</para> </para>
<example>
<title>register_object</title>
<programlisting role="php">
<![CDATA[
<?php
SmartyValidate::register_object('myobj',$myobj);
?>
]]>
</programlisting>
</example>
</refsect1> </refsect1>
</refentry> </refentry>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file