Admin Toolbar Method handleAdminToolbarAJAX()

public function handleAdminToolbarAJAX(
$cID, $cType, $cVersion, $ids
) { //...your PHP code...// }

Summary

You can handle AJAX requests from the Admin Toolbar by writing this method.

Context

This Method will be called to handle any AJAX requests for any buttons you create on the Admin Toolbar.

Where You Can Use It

From Zenario 7.0 onwards.

Parameters

$cID

$cType

$cVersion

The Content Id, Type and Version of the current page.

$ids

If you are using a button with the pick_items property, you will be given the id of the item that was selected (or a comma-separated list if multiple items were selected).

Return Value

No return value is needed.