root/branches/3.1/docs/bc-break.txt

Revision 123, 1.1 kB (checked in by schst, 5 years ago)

updated docs
improved examples

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 BC breakage issues:
2 -------------------
3 $Id$
4
5 This is a list of known issues that could
6 break backwards compatibility with patTemplate
7 versions below 3.0.0
8
9 - patTemplate::dump()
10   This method now accepts two parameters:
11   dump( [array templates [, string dumper]] )
12   As long as you called it without parameters there will be no
13   problems
14
15 - whitespace treatment has changed (no rtrim, ltrim possible anymore)
16   When a patTemplate tag is encountered, _only_ the tag is removed but
17   all surrounding whitespace is left the way it has been found on the
18   template, as long as you do not set the whitespace attribute.
19
20 - new error handling instead of die()
21
22 - deprecated methods have been removed
23   addTemplate(), addTemplates(),
24
25 - adding the same variable twice may cause problems, if it's scalar
26   the first time and an array the second time (or the other way round)
27   (will be fixed)
28  
29 - condition="empty" and condition="default" should now be used as
30   condition="__empty" and condition"__default"
31   (old values will be allowed until 3.1.0)
32  
33 - placeholder="none"  should now be used as
34   placeholder="__none"
35   (old value will be allowed until 3.1.0)
Note: See TracBrowser for help on using the browser.