Datamanager 2 simple privilege

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 privilege type only. It shows a triplet of radioboxes having allowed, denied and inherited as option according to the type's value.

The widget will not display itself if the user does not have privileges permission on the storage object.

package midcom.helper.datamanager2

 Methods

_on_initialize ()

The initialization event handler validates the base type.

Returns

booleanIndicating Success

add_elements_to_form ($attributes)

Adds the radiobox triplet to the form if and only if we have the permissions.

Parameters

$attributes

freeze ()

get_default ()

is_frozen ()

sync_type_with_widget ($results)

Synchronizes if and only if we have the permissions.

Parameters

$results

unfreeze ()

 Properties

 

Array $_elements

The QF Element list added to the form.

Saved for freezing/unfreezing.

access protected