Datamanager 2 composite widget

As with all subclasses, the actual initialization is done in the initialize() function, not in the constructor, to allow for error handling.

This widget supports the composite type or any subtype thereof. Each child object will be displayed using its own AJAX form inside a MidCOM style element listing: _dm2_composite_xx_header, _dm2_composite_xx_item and _dm2_composite_xx_footer where xx is the value of the style_element_name.

package midcom.helper.datamanager2

 Methods

_on_initialize ()

The initialization event handler, check type.

Returns

booleanIndicating Success

add_elements_to_form ($attributes)

Constructs the child object listing.

Parameters

$attributes

freeze ()

is_frozen ()

Returns always false

sync_type_with_widget ($results)

Parameters

$results

unfreeze ()