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:
Это свойство говорит Smarty, какой тип ресурсов использовать по умолчанию. Значением этого свойства по умолчанию является 'file', так что $smarty->display('index.tpl'); и $smarty->display('file:index.tpl'); имеют одинаковый смысл. Обратитесь к главе ресурсы для дополнительной информации.