internal package
Foswiki::Configure::UI
On this page:
- internal package Foswiki::Configure::UI
- ClassMethod new($item)
- StaticMethod reset($isFirstTime)
- ObjectMethod findRepositories()
- ObjectMethod getRepository($name) → \%repository
- StaticMethod loadUI($id, $item) → $ui
- StaticMethod loadChecker($id, $item) → $checker
- ObjectMethod getUrl() → $response
- ObjectMethod setting(...) → $html
- ObjectMethod makeID($id) → $encodedID
- ObjectMethod NOTE(...)
- ObjectMethod NOTE_OK(...)
- ObjectMethod WARN(...)
- ObjectMethod ERROR(...)
- ObjectMethod hidden($value) → $html
- ObjectMethod urlEncode($data) → $encodedData
- StaticMethod authorised () → ($isAuthorized, $messageType)
internal package
Foswiki::Configure::UI
This is both the factory for UIs and the base class of all UI objects.
A UI is the V part of the MVC model used in configure.
Each structural entity in a configure screen has a UI type, either
stored directly in the entity or indirectly in the type associated
with a value. The UI type is used to guide a visitor which is run
over the structure to generate the UI.
ClassMethod
new($item)
Construct a new UI, attaching it to the given $item in the model.
StaticMethod
reset($isFirstTime)
Called from the main configure
script, this method resets the total
error and warning counts. This method is provided primarily for testing
support.