Zend Server Z-Ray - PHP API

This topic lists the PHP API functions of the Zend Server Z-Ray.

Zend Server Z-Ray Functions

Function

Description

zray_disable

Disable Z-Ray for this request

zray_get_loaded_extensions

Returns the list of loaded Z-Ray extensions

zray_remove_entries

Remove Z-Ray entries from the database

zray_disable

Disable Z-Ray for this request

Available Since Version: 8.0

Parameter

Type

Required

Description

disableCollection

boolean

No

When called with false or no params, Z-Ray toolbar injection in PHP output is disabled, however Z-Ray data is still collected. When called with true param, Z-Ray data collection is also disabled.

zray_get_loaded_extensions

Returns the list of loaded Z-Ray extensions

Available Since Version: 8.0

Return Value: array - List of loaded Z-Ray extensions

zray_remove_entries

Remove Z-Ray entries from the database

Available Since Version: 9.1

Parameter

Type

Required

Description

entriesIds

array

No

Array containing the ids of entries to be deleted. If empty - will delete all.

Return Value: boolean - True for successful deletion. False otherwise.