RemoveCallback

RemoveCallback — Unregisters any callback registered for the given reason

Synopsis

$plot->RemoveCallback($reason)
    

Description

RemoveCallback unregisters any callback registered for the given reason. It undoes the effect of SetCallback.

Parameters

$reason

A PHPlot-defined name for the callback. See Section 9.3, “Available Callbacks”.

Return Value

Returns True if the given reason is valid (whether or not there was actually a callback registered for it). Returns False if reason is not a valid callback reason.

Notes

Callbacks are an experimental feature added to PHPlot-5.0.4. Refer to Chapter 9, Callbacks for more information.