From 4a007b3d3a6173fc61ba39740dee0921b5281191 Mon Sep 17 00:00:00 2001 From: boots Date: Wed, 16 Jun 2004 01:23:13 +0000 Subject: [PATCH] restore mistakenly committed entries (sorry) --- .../api-functions/api-register-object.xml | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/docs/en/programmers/api-functions/api-register-object.xml b/docs/en/programmers/api-functions/api-register-object.xml index e24d50d1..7992df4a 100644 --- a/docs/en/programmers/api-functions/api-register-object.xml +++ b/docs/en/programmers/api-functions/api-register-object.xml @@ -9,25 +9,17 @@ <methodsynopsis> <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>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> <para> - Register an object with SmartyValidate for use in isCustom criteria. - Typically do this right after issuing <link linkend="api.connect">connect()</link>. - See the <link linkend="api.register.criteria">register_criteria()</link> - method for more details. + This is to register an object for use in the templates. See the + <link linkend="advanced.features.objects">object section</link> + of the manual for examples. </para> - <example> - <title>register_object - - -]]> - -