PHPTALES

  1. path:
  2. Alternative PHP operator syntax
  3. string:
  4. php:
  5. not:
  6. exists:
  7. true:
  8. default
  9. structure
  10. Expression chains

PHPTALES is the equivalent of TALES, the Template Attribute Language Expression Syntax which is the syntax used inside TAL, METAL, PHPTAL attributes and ${…} inline expressions.

In previous examples, you should have seen some PHPTALES examples ( string:, php:, not:, …). This chapter describes the usage of PHPTALES in templates.

The value of a TAL attribute may contain more than one expression (ex: tal:define), in which case each expression must be separated from the next one with a ' ;' character.