Terminal Icon

Differences

» Stamp, alternative PHP Templates

The differences between the cut-and-paste / paper model approach and the stamp approach are:

Different markers

HTML markers do not have to be prefixed with cut: or paste: if used for stamps.

Initialization

Only the regions prefixed with cut: are cut on initialization. When working with stamps you don't have to use the cut-prefix so they aren't cut on initialization.. duh! ;)

Manually copy

You have to copy regions manually using copy()

Copy is not Cut

The copy function does not remove the selected region from the template (not like cut.. duh..)

Use replace()

With stamps, instead of pasteIn, you use replace()

Manual Pages

  • Philosophy
  • Welcome
  • Basics
  • Download
  • Painter Plugins
  • Navigation
  •  



    copyright © 2011 Gabor de Mooij | Stamp PHP Template Library