cvs: smarty /docs/en/programmers/api-functions api-register-object.xml

"boots" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsboots1087348993@cvsserver>
boots		Tue Jun 15 21:23:13 2004 EDT

  Modified files:              
    /smarty/docs/en/programmers/api-functions	api-register-object.xml 
  Log:
  restore mistakenly committed entries (sorry)
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/api-functions/api-register-object.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/programmers/api-functions/api-register-object.xml
diff -u smarty/docs/en/programmers/api-functions/api-register-object.xml:1.3 smarty/docs/en/programmers/api-functions/api-register-object.xml:1.4
--- smarty/docs/en/programmers/api-functions/api-register-object.xml:1.3	Tue Jun 15 20:46:02 2004
+++ smarty/docs/en/programmers/api-functions/api-register-object.xml	Tue Jun 15 21:23:13 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <refentry id="api.register.object">
  <refnamediv>
   <refname>register_object</refname>
@@ -9,25 +9,17 @@
   <title />
   <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</title>
-   <programlisting role="php">
-<![CDATA[
-<?php
-SmartyValidate::register_object('myobj',$myobj);
-?>
-]]>
-   </programlisting>
-  </example>
  </refsect1>
 </refentry>
 <!-- Keep this comment at the end of the file

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.