mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-06 09:10:55 +02:00
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision$ -->
|
||
|
<sect1 id="api.register.object">
|
||
|
<title>register_object</title>
|
||
|
<funcsynopsis>
|
||
|
<funcprototype>
|
||
|
<funcdef>void <function>register_object</function></funcdef>
|
||
|
<paramdef>string <parameter>object_name</parameter></paramdef>
|
||
|
<paramdef>object <parameter>$object</parameter></paramdef>
|
||
|
<paramdef>array <parameter>allowed methods/properties</parameter></paramdef>
|
||
|
<paramdef>boolean <parameter>format</parameter></paramdef>
|
||
|
<paramdef>array <parameter>block methods</parameter></paramdef>
|
||
|
</funcprototype>
|
||
|
</funcsynopsis>
|
||
|
<para>
|
||
|
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>
|
||
|
</sect1>
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|