FusionDirectory
|
Public Member Functions | |
check () | |
Checks data and return errors. | |
remove (bool $fulldelete=FALSE) | |
Delete tab data from LDAP and return errors. | |
save () | |
Save data to the LDAP and return errors. | |
resetCopyInfos () | |
Reset information after a copy/paste. | |
set_acl_category (string $category) | |
Sets ACL category provided by simpleTabs. | |
acl_is_removeable (string $base=NULL) | |
Can we delete the object. More... | |
setTemplate (bool $isTemplate) | |
Sets whether the opened objet is a template. More... | |
setNeedEditMode (bool $needEditMode) | |
Sets whether the opened objet has an edit button. More... | |
is_modal_dialog () | |
Is there a modal dialog opened. | |
getRequiredAttributes () | |
Returns list of required LDAP attributes. More... | |
showInTemplate (string $attr, array $templateAttrs) | |
Returns TRUE if this attribute should be asked in the creation by template dialog. | |
attrIsReadable ($attr) | |
Check if logged in user have enough right to read this attribute value. More... | |
attrIsWriteable ($attr) | |
Check if logged in user have enough right to write this attribute value. More... | |
adapt_from_template (array $attrs, array $skip=[]) | |
Adapt from template. | |
deserializeValues (array $values, bool $checkAcl=TRUE) | |
Deserialize values. More... | |
aclHasPermissions () | |
Test if the plugins have ACLs declared. More... | |
aclGetPermissions ($attribute='0', string $base=NULL, bool $skipWrite=FALSE) | |
Get the acl permissions for an attribute or the plugin itself. | |
mergeObjectClasses (array $oc) | |
Merge in objectClasses needed by this tab. More... | |
fillHookAttrs (array &$addAttrs) | |
Fill attributes which may be used in hooks. More... | |
isActive () | |
Test whether a tab is active. | |
isActivatable () | |
Test whether a tab can be deactivated. | |
![]() | |
readPost () | |
Interpret POST content. | |
update () | |
Update state and return FALSE if the dialog was closed. | |
render () | |
Render the dialog and returns the HTML code. | |
Definition at line 38 of file interface_SimpleTab.inc.
acl_is_removeable | ( | string | $base = NULL | ) |
aclHasPermissions | ( | ) |
Test if the plugins have ACLs declared.
If FALSE tab is always shown, if TRUE aclGetPermissions('') is called
Implemented in simplePlugin.
attrIsReadable | ( | $attr | ) |
Check if logged in user have enough right to read this attribute value.
mixed | $attr | Attribute object or name (in this case it will be fetched from attributesAccess) |
Implemented in simplePlugin, and ManagementConfigurationDialog.
attrIsWriteable | ( | $attr | ) |
Check if logged in user have enough right to write this attribute value.
mixed | $attr | Attribute object or name (in this case it will be fetched from attributesAccess) |
Implemented in simplePlugin, ManagementConfigurationDialog, SnapshotRestoreDialog, and SnapshotCreateDialog.
deserializeValues | ( | array | $values, |
bool | $checkAcl = TRUE |
||
) |
fillHookAttrs | ( | array & | $addAttrs | ) |
Fill attributes which may be used in hooks.
Used by simplePlugin::callHook
Implemented in simplePlugin, and SnapshotCreateDialog.
getRequiredAttributes | ( | ) |
mergeObjectClasses | ( | array | $oc | ) |
Merge in objectClasses needed by this tab.
Used by prepare_save and template::apply
Implemented in simplePlugin.
setNeedEditMode | ( | bool | $needEditMode | ) |
Sets whether the opened objet has an edit button.
bool | $needEditMode |
Implemented in simplePlugin.
setTemplate | ( | bool | $isTemplate | ) |
Sets whether the opened objet is a template.
bool | $isTemplate |
Implemented in simplePlugin.