FusionDirectory
|
This class contains all function to manage tabs classes. More...
Public Member Functions | |
__construct (string $type, $dn, $attrs_object=NULL) | |
Tabs classes constructor. | |
re_init () | |
Reinitializes the tab classes with fresh ldap values. More... | |
setActiveTabs (&$tabObject) | |
Sets the active tabs from this instance to an other one. Used by templates. | |
readOnly () | |
Indicates if this tab class is read-only (because of locks) | |
save_object () | |
Save a tabs object. | |
readPost () | |
Interpret POST content. | |
update () | |
Update state and return FALSE if the dialog was closed. | |
render () | |
This function display the plugin and return the html code. | |
loadTabs () | |
Load tab list if needed. | |
delete (bool $checkAcl=TRUE) | |
Remove object from LDAP. More... | |
check () | |
Check. | |
adapt_from_template (array $attrs, array $skip=[]) | |
Adapt from template. More... | |
addSpecialTabs () | |
Add special Tabs. | |
getAclBase () | |
Get LDAP base to use for ACL checks. | |
Static Public Member Functions | |
static | getPotentialTabList (string $type, array $infos) |
Returns the list of tabs which may appear for a given object type. | |
Protected Member Functions | |
renderTabList (bool $disabled=FALSE) | |
Generate the tab classes. More... | |
This class contains all function to manage tabs classes.
Definition at line 30 of file class_simpleTabs.inc.
adapt_from_template | ( | array | $attrs, |
array | $skip = [] |
||
) |
Adapt from template.
array | $attrs | an LDAP-like values array |
array | $skip | Attributes to skip |
Definition at line 514 of file class_simpleTabs.inc.
References logging\debug().
delete | ( | bool | $checkAcl = TRUE | ) |
Remove object from LDAP.
Returns errors
Definition at line 353 of file class_simpleTabs.inc.
References msgPool\permDelete().
re_init | ( | ) |
Reinitializes the tab classes with fresh ldap values.
This maybe usefull if for example the apply button was pressed.
Definition at line 125 of file class_simpleTabs.inc.
|
protected |
Generate the tab classes.
boolean | $disabled | false |
Definition at line 285 of file class_simpleTabs.inc.
References htmlescape().
Referenced by render().