Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Nov 21, 2017
1 parent ee65bcd commit f227c59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CRM/Export/Controller/Standalone.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $mod
}

/**
*
* Export forms are historically tightly coupled to search forms,so this simulates
* the output of a search form, with an array of checkboxes for each selected entity.
*
* @param string $pageName
* @return array
Expand All @@ -81,6 +82,7 @@ public function exportValues($pageName = NULL) {
$values[CRM_Core_Form::CB_PREFIX . $id] = 1;
}
}
// Set the "task" selector value to Export
$className = 'CRM_' . $this->get('entity') . '_Task';
foreach ($className::tasks() as $taskId => $task) {
$taskForm = (array) $task['class'];
Expand Down

0 comments on commit f227c59

Please sign in to comment.