$context
$context : array
Custom tag example.
با استفاده از برچسب میتوان دادههای مورد نیاز و یا الگوهای مورد نیاز در لایه الگو را ایجاد کرد.
genStart()
Generate some valid PHP code to be put in the template.
The code generated by this function is included in the template just after the call to $this->start() if the start() method is implemented.
You cannot access the template context but you can write code that is modifying it through $t
genEnd()
Generate some valid PHP code to be put in the template.
The code generated by this function is included in the template just after the call to $this->end() if the end() method is implemented.
You cannot access the template context but you can write code that is modifying it through $t