Skip to content

Various available variables in templates

Lucas Verney edited this page Jul 27, 2014 · 1 revision

Errors

Each error is given to the template as a $error variable.

You can use:

  • $error['type'] = (info | warning | error) : error type
  • $error['title'] : short summary of the error / title
  • $error['content'] : Preformatted (<p>, <ul>…) error description.