internal package
Foswiki::Configure::Type
On this page:
internal package
Foswiki::Configure::Type
Base class of all types. Types are involved only in the presentation
of values in the configure interface. They do not play any part in
loading, saving or checking configuration values.
This is not an abstract class. Objects of this type are used when a
specialised class for a type cannot be found.
StaticMethod
load($id, $keys) → $typeObject
Load the named type object - $id - the type name e.g. SELECTCLASS
- $keys - the item the type is being loaded for. Only used to generate errors.
ObjectMethod
prompt(id) → $html
- $id e.g. {This}{Item}
- $opts formatting options e.g. 10x30
- $value current value of item (string)
- $class CSS class
ObjectMethod
equals($a, $b)
Test to determine if two values of this type are equal. - $a, $b the values (strings, usually)