Changeset 812 for trunk/core/lib/Foswiki/Attrs.pm
- Timestamp:
- 11/19/08 16:05:12 (4 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/Attrs.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/Attrs.pm
r809 r812 27 27 28 28 Class of attribute sets, designed for parsing and storing attribute values 29 from a TWiki tag e.g. =%<nop>TAG{"joe" fred="bad" joe="mad"}%=29 from a macro e.g. =%<nop>MACRO{"joe" fred="bad" joe="mad"}%= 30 30 31 31 An attribute set is a hash containing an entry for each parameter. The … … 36 36 the _first_ instance is always taken. 37 37 38 As well as the default TWiki syntax (parameter values double-quoted)38 As well as the default Foswiki syntax (parameter values double-quoted) 39 39 this class also parses single-quoted values, unquoted spaceless 40 40 values, spaces around the =, and commas as well as spaces separating values. … … 60 60 61 61 * =$string= - String containing attribute specification 62 * =$friendly= - if true, the parse will be according to the extended syntax pioneered by the original Contrib::Attrs. Otherwise it will be strict as per traditional TWikisyntax.62 * =$friendly= - if true, the parse will be according to the extended syntax pioneered by the original Contrib::Attrs. Otherwise it will be strict as per traditional syntax. 63 63 64 64 Parse a standard attribute string containing name=value pairs and create a new
Note: See TracChangeset
for help on using the changeset viewer.
