PHP.GT

Constructing DomTemplate objects

This page has been replaced by the newer Getting started guide.

The main reason for the rewrite is that the current library uses setDependencies(...) wiring rather than the older constructor-based description that used to live here.

If you are looking for:

  • manual HTMLDocument setup
  • current DocumentBinder wiring
  • when to call cleanupDocument()
  • when to use ComponentBinder

please head over to Getting started.