Eğer register_object kullanırsanız () aradığınız ve aynı zamanda farklı (daha Smarty gibi) sözdizimi ile yöntemlerini çağırmak demektir edilebilir yöntemleri kısıtlayabilirsiniz:
<?php
// registering the object (will be by reference)
$smarty->register_object('foobar',$myobj);
// if we want to restrict access to certain methods or properties, list them
$smarty->register_object('foobar',$myobj,array('meth1','meth2','prop1'));
Şablon:
{* access our registered object *}
{foobar->meth1 p1='foo' p2=$bar}
Dan http://www.smarty.net/manual/en/advanced.features.php