What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
register_object() — register an object for use in the templates
void register_object(string object_name,
object object,
array allowed_methods_properties,
boolean format,
array block_methods);
See the objects section for more information.
See also
get_registered_object()
,
and
unregister_object()
.