Home | Gifts |
put
method.
$otherMeta
- a block of meta-data to merge with $this
$formDef
reference to a TWiki::Form that gives the types of the fields in $this
mergeable
method on the form def is used to determine if that fields is mergeable. if it isn't, the value currently in meta will not be changed.
$types
- regular expression matching the names of fields to be processed. Will default to qr/^[A-Z]+$/ if undef.
$keys
- regular expression matching the names of keys to be processed. Will default to qr/^[a-z]+$/ if undef.
\&fn
on each, and replacing the value
with the result of \&fn.
\%options will be passed on to $fn, with the following additions: _type
=> the type name (e.g. "FILEATTACHMENT")
_key
=> the key name (e.g. "user")
Revision r3 - 2007-01-16 - 04:11:59 - TWikiContributor | Edit |