organizerPanelDownload()
public function organizerPanelDownload($path, $ids, $refinerName, $refinerId) { //...your PHP code...// }
You can serve file downloads from Organizer by writing this method.
This Method will be called to handle any download requests for any buttons you create in Organizer.
From Zenario 7.0.0 onwards.
$path
The tag path to the panel that is currently being accessed.
$ids
The id of the current item selected, or if multiple items are selected, a comma-separated list of ids.
Note that this value will always be empty for actions on collection buttons.
$refinerName
The name of the refiner that is being applied to the Panel, if there is one.
$refinerId
The value of the refiner that is being applied to the Panel, if there is one.
Note that if you wish to access the values of refiners used on previous panels then they will be available in the $_GET
request.
No return value is needed.