PHPTALES

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

PHPTALES is the expression syntax used inside tal, metal, PHPTAL attributes. From above 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.