PHP Integration


Table of Contents

  1. class PHPTAL
    1. Configuration methods
      1. setOutputMode( mode)
      2. setEncoding( encoding)
      3. Other methods
    2. execute() method
    3. echoExecute() method
    4. addPreFilter() method
  2. class PHPTAL_PreFilter
  3. PHPTAL DOM
  4. interface PHPTAL_Filter
  5. interface PHPTAL_Trigger
  6. interface PHPTAL_TranslationService
    1. method setLanguage( )
    2. method useDomain( $domain)
    3. method setVar( $key, $value)
    4. method translate( $key)
    5. method setEncoding( $encoding)
  7. Working with gettext
    1. Creating the translation directory structure
    2. Portable Object files
    3. Translation Domain
    4. Using Translator in PHP
    5. Variable interpolation
  8. Creating custom expression modifiers

This section is aimed at PHP developers and explains how to use and customize PHPTAL behaviors for simple and advanced usage.