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:
void register_object( |
object_name, | |
$object, | ||
allowed methods/properties, | ||
format, | ||
block methods) ; |
string object_name
;object $object
;array allowed methods/properties
;boolean format
;array block methods
;Isso é para registrar um objeto para uso no template. Veja a seção de objetos do manual para examplos.