Organizer Method fillOrganizerPanel()

public function fillOrganizerPanel(
$path, &$panel, $refinerName, $refinerId, $mode
) { //...your PHP code...// }

Summary

This method allows you to alter contents of a panel in Organizer, before it is sent to the client.

It is called after Organizer runs its SQL queries, so you will be able to view/modify the items in the panel.

Context

This method is called when an administrator views a panel in Organizer that you have written.

It's also possible to run your fillOrganizerPanel() method on another module's panel by placing a button or a refiner on that panel.

Where You Can Use It

From Zenario 7.0.0 onwards.

Parameters

$path

The tag path to the panel that is currently being accessed.

$panel

The tags generated so far will be available to you in the $panel variable as a PHP associative array.

This variable is passed by reference, and you have the ability to add/edit/remove tags as needed to alter the behaviour of your Panel.

$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.

$mode

The mode that Organizer is currently running in; you can see a list of modes here.

Return Value

No return value is needed.