Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-plugins
Commits
9db3a4e1
Verified
Commit
9db3a4e1
authored
4 weeks ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
refactor(extractor): clean up whitespace in extractorTask class for improved readability
parent
0ebecf51
dev
6341-supann-extract-resources-states-sub-states-from-backend-configuration-to-their-own-objects
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extractor/workflow/class_extractorTask.inc
+3
-3
extractor/workflow/class_extractorTask.inc
with
3 additions
and
3 deletions
+3
-3
extractor/workflow/class_extractorTask.inc
+
3
−
3
View file @
9db3a4e1
...
@@ -59,7 +59,7 @@ class extractorTask extends simplePlugin
...
@@ -59,7 +59,7 @@ class extractorTask extends simplePlugin
'attrs'
=>
[
'attrs'
=>
[
new
SelectAttribute
(
new
SelectAttribute
(
_
(
'Format'
),
_
(
'Output format for extracted data'
),
_
(
'Format'
),
_
(
'Output format for extracted data'
),
'fdExtractorTaskFormat'
,
TRUE
,
'fdExtractorTaskFormat'
,
TRUE
,
[
'CSV'
],
// Array of choices/keys
[
'CSV'
],
// Array of choices/keys
'CSV'
,
// Default value
'CSV'
,
// Default value
[
_
(
'CSV (Comma Separated Values)'
)],
// Array of display values corresponding to choices
[
_
(
'CSV (Comma Separated Values)'
)],
// Array of display values corresponding to choices
...
@@ -82,10 +82,10 @@ class extractorTask extends simplePlugin
...
@@ -82,10 +82,10 @@ class extractorTask extends simplePlugin
{
{
$selectedMembers
=
$this
->
attributesAccess
[
'fdExtractorTaskMembers'
]
->
getValue
();
$selectedMembers
=
$this
->
attributesAccess
[
'fdExtractorTaskMembers'
]
->
getValue
();
$listOfDN
=
tasks
::
extractMembersFromGroups
(
$selectedMembers
);
$listOfDN
=
tasks
::
extractMembersFromGroups
(
$selectedMembers
);
// Store the list of DNs for future use
// Store the list of DNs for future use
$this
->
attributesAccess
[
'fdExtractorTaskListOfDN'
]
->
setValue
(
$listOfDN
);
$this
->
attributesAccess
[
'fdExtractorTaskListOfDN'
]
->
setValue
(
$listOfDN
);
// Call the method from parent tasks object (first tab) to create sub-tasks
// Call the method from parent tasks object (first tab) to create sub-tasks
$this
->
parent
->
getBaseObject
()
->
createSlaveTasks
(
$listOfDN
,
'fdTasksGranularDN'
,
NULL
,
'extract'
);
$this
->
parent
->
getBaseObject
()
->
createSlaveTasks
(
$listOfDN
,
'fdTasksGranularDN'
,
NULL
,
'extract'
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets