Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Classes

class UniversalExtension

Base clase for Stonebranch Universal Extension module implementations

Methods

extension_cancel(self)

Implement in derived class.


extension_start(self, fields)

Implement in derived class.

...

  • Can be called at any time by an Extension instance.
  • Any/all output fields defined in the associated Extension Template can be updated using this method.

Parameters

fields : dict

The fields parameter expects a dictionary of output fields to be sent back to the controller for the associated Extension instance. Field names are implementation dependent and correlate with the Universal Template field names in the Controller's Template definition for the associated task.

Returns

None


Examples

>>> my_ext = MyExt() # my_ext is an instance of a (derived) extension class called MyExt

...