98 |
- |
1 |
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
|
|
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>RemoveCallback</title><link rel="stylesheet" type="text/css" href="phplotdoc.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="PHPlot Reference Manual" /><link rel="up" href="reference.html" title="PHPlot Function Reference" /><link rel="prev" href="PrintImageFrame.html" title="PrintImageFrame" /><link rel="next" href="SetBackgroundColor.html" title="SetBackgroundColor" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">RemoveCallback</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="PrintImageFrame.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetBackgroundColor.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="RemoveCallback"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">RemoveCallback</span></h2><p>RemoveCallback — Unregisters any callback registered for the given reason</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->RemoveCallback(<em class="parameter"><code>$reason</code></em>)</pre></div><div class="refsect1"><a id="idp1377788868"></a><h2>Description</h2><p>
|
|
|
3 |
<code class="function">RemoveCallback</code> unregisters any callback registered
|
|
|
4 |
for the given reason.
|
|
|
5 |
It undoes the effect of <a class="xref" href="SetCallback.html" title="SetCallback"><span class="refentrytitle">SetCallback</span></a>.
|
|
|
6 |
</p></div><div class="refsect1"><a id="idp1377790236"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$reason</code></em></span></dt><dd><p>
|
|
|
7 |
A PHPlot-defined name for the callback.
|
|
|
8 |
See <a class="xref" href="callbacks.html#callbacks-names" title="4.4.3. Available Callbacks">Section 4.4.3, “Available Callbacks”</a>.
|
|
|
9 |
</p></dd></dl></div></div><div class="refsect1"><a id="idp1377792092"></a><h2>Return Value</h2><p>
|
|
|
10 |
Returns True if the given reason is valid (whether or not
|
|
|
11 |
there was actually a callback registered for it).
|
|
|
12 |
Returns False if reason is not a valid callback reason.
|
|
|
13 |
</p></div><div class="refsect1"><a id="idp1377792868"></a><h2>Notes</h2><p>
|
|
|
14 |
Refer to <a class="xref" href="callbacks.html" title="4.4. Callbacks">Section 4.4, “Callbacks”</a> for more information on callbacks.
|
|
|
15 |
</p></div><div class="refsect1"><a id="idp1377793860"></a><h2>History</h2><p>
|
|
|
16 |
This function and the callbacks implementation were added in PHPlot-5.0.4
|
|
|
17 |
as an experimental feature. Callbacks were first documented in this manual
|
|
|
18 |
as of PHPlot-5.0.5 and are no longer considered experimental.
|
|
|
19 |
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="PrintImageFrame.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SetBackgroundColor.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">PrintImageFrame </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetBackgroundColor</td></tr></table></div></body></html>
|