Warning: PyroCMS v2 is very old, these docs are provided free of charge, use at your own risk.
Admin Theme Helper
This helper is intended to be used with your Admin Theme.
Functions
file_partial($file = '', $ext = 'php')
Loads a file partial from your Theme Views Partials folder. echo's directly to the page.
| Name | Default | Required | Description |
|---|---|---|---|
| file | Yes | The path to the view. Inside THEME_VIEWS_FOLDER/partials/ | |
| ext | php | No | Extension of the file of other than php |
template_partial($name = '')
Loads a template partial previously set with $this->template->partial(). echo's directly to the page.
| Name | Default | Required | Description |
|---|---|---|---|
| name | Yes | The name you set the partial as |
