Commit 798dffdf authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch...

Merge branch '6150-create-a-ldapmanager-tab-on-objects-that-let-export-the-object-easily-in-ldif-one-and-subtree' into '1.4-dev'

Resolve "Create a ldapmanager tab on objects that let export the object easily in LDIF (one and subtree)"

Closes #6150

See merge request fusiondirectory/fd-plugins!915
Showing with 7 additions and 1 deletion
+7 -1
......@@ -39,6 +39,11 @@ class ldapExport extends simplePlugin
'export' => [
'name' => _('Export'),
'attrs' => [
new IntAttribute(
_('Wrapping'), _('Wrap lines after this length in columns (0 to disable)'),
'wrap', FALSE,
0, FALSE, 100
),
new CompositeAttribute(
_('DN of a single entry to export as ldif'),
'single_export',
......@@ -79,6 +84,7 @@ class ldapExport extends simplePlugin
{
parent::__construct($dn, $object, $parent, $mainTab);
$this->attributesAccess['wrap']->setInLdap(FALSE);
$this->attributesAccess['single_export']->setInLdap(FALSE);
$this->attributesAccess['single_export']->setLinearRendering(TRUE);
$this->attributesAccess['complete_export']->setInLdap(FALSE);
......@@ -142,4 +148,4 @@ class ldapExport extends simplePlugin
{
return [];
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment