582 lines
16 KiB
HTML
Executable File
582 lines
16 KiB
HTML
Executable File
<html>
|
|
<head>
|
|
<title>Docs For Class DOMEvent</title>
|
|
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
|
<tr>
|
|
<td class="header_top">phpQuery</td>
|
|
</tr>
|
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
|
<tr>
|
|
<td class="header_menu">
|
|
|
|
|
|
[ <a href="../classtrees_phpQuery.html" class="menu">class tree: phpQuery</a> ]
|
|
[ <a href="../elementindex_phpQuery.html" class="menu">index: phpQuery</a> ]
|
|
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
|
</td>
|
|
</tr>
|
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
|
</table>
|
|
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="200" class="menu">
|
|
<div id="todolist">
|
|
<p><a href="../todolist.html">Todo List</a></p>
|
|
</div>
|
|
<b>Packages:</b><br />
|
|
<a href="../li_phpQuery.html">phpQuery</a><br />
|
|
<br /><br />
|
|
<b>Files:</b><br />
|
|
<div class="package">
|
|
<a href="../phpQuery/_Callback.php.html"> Callback.php
|
|
</a><br>
|
|
<a href="../phpQuery/_DOMDocumentWrapper.php.html"> DOMDocumentWrapper.php
|
|
</a><br>
|
|
<a href="../phpQuery/_DOMEvent.php.html"> DOMEvent.php
|
|
</a><br>
|
|
<a href="../phpQuery/_phpQuery.php.html"> phpQuery.php
|
|
</a><br>
|
|
<a href="../phpQuery/_phpQueryEvents.php.html"> phpQueryEvents.php
|
|
</a><br>
|
|
<a href="../phpQuery/_phpQueryObject.php.html"> phpQueryObject.php
|
|
</a><br>
|
|
</div><br />
|
|
|
|
|
|
<b>Classes:</b><br />
|
|
<div class="package">
|
|
<a href="../phpQuery/Callback.html">Callback</a><br />
|
|
<a href="../phpQuery/CallbackParam.html">CallbackParam</a><br />
|
|
<a href="../phpQuery/CallbackReference.html">CallbackReference</a><br />
|
|
<a href="../phpQuery/DOMDocumentWrapper.html">DOMDocumentWrapper</a><br />
|
|
<a href="../phpQuery/DOMEvent.html">DOMEvent</a><br />
|
|
<a href="../phpQuery/phpQuery.html">phpQuery</a><br />
|
|
<a href="../phpQuery/phpQueryEvents.html">phpQueryEvents</a><br />
|
|
<a href="../phpQuery/phpQueryObject.html">phpQueryObject</a><br />
|
|
<a href="../phpQuery/phpQueryPlugins.html">phpQueryPlugins</a><br />
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
|
|
|
<h1>Class: DOMEvent</h1>
|
|
Source Location: /DOMEvent.php<br /><br />
|
|
|
|
|
|
<table width="100%" border="0">
|
|
<tr><td valign="top">
|
|
|
|
<h3><a href="#class_details">Class Overview</a></h3>
|
|
<pre></pre><br />
|
|
<div class="description">DOMEvent class.</div><br /><br />
|
|
<h4>Author(s):</h4>
|
|
<ul>
|
|
<li>Tobiasz Cudnik <<a href="mailto:tobiasz.cudnik/gmail.com">tobiasz.cudnik/gmail.com</a>></li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td valign="top">
|
|
<h3><a href="#class_vars">Variables</a></h3>
|
|
<ul>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$bubbles">$bubbles</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$cancelable">$cancelable</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$currentTarget">$currentTarget</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$data">$data</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$detail">$detail</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$eventPhase">$eventPhase</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$explicitOriginalTarget">$explicitOriginalTarget</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$originalTarget">$originalTarget</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$relatedTarget">$relatedTarget</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$runDefault">$runDefault</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$target">$target</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$timeStamp">$timeStamp</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#var$type">$type</a></li>
|
|
</ul>
|
|
</td>
|
|
|
|
|
|
<td valign="top">
|
|
<h3><a href="#class_methods">Methods</a></h3>
|
|
<ul>
|
|
<li><a href="../phpQuery/DOMEvent.html#method__construct">__construct</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#methodpreventDefault">preventDefault</a></li>
|
|
<li><a href="../phpQuery/DOMEvent.html#methodstopPropagation">stopPropagation</a></li>
|
|
</ul>
|
|
</td>
|
|
|
|
</tr></table>
|
|
<hr />
|
|
|
|
<table width="100%" border="0"><tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</tr></table>
|
|
<hr />
|
|
|
|
<a name="class_details"></a>
|
|
<h3>Class Details</h3>
|
|
<div class="tags">
|
|
[line 11]<br />
|
|
DOMEvent class.<br /><br /><p>Based on</p><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>author:</b> </td><td>Tobiasz Cudnik <<a href="mailto:tobiasz.cudnik/gmail.com">tobiasz.cudnik/gmail.com</a>></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>link:</b> </td><td><a href="http://developer.mozilla.org/En/DOM:event">http://developer.mozilla.org/En/DOM:event</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>todo:</b> </td><td>implement ArrayAccess ?</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
|
<hr />
|
|
<a name="class_vars"></a>
|
|
<h3>Class Variables</h3>
|
|
<div class="tags">
|
|
<a name="var$bubbles"></a>
|
|
<p></p>
|
|
<h4>$bubbles = <span class="value"> true</span></h4>
|
|
<p>[line 17]</p>
|
|
Returns a boolean indicating whether the event bubbles up through the DOM or not.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$cancelable"></a>
|
|
<p></p>
|
|
<h4>$cancelable = <span class="value"> true</span></h4>
|
|
<p>[line 23]</p>
|
|
Returns a boolean indicating whether the event is cancelable.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$currentTarget"></a>
|
|
<p></p>
|
|
<h4>$currentTarget = <span class="value"></span></h4>
|
|
<p>[line 29]</p>
|
|
Returns a reference to the currently registered target for the event.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$data"></a>
|
|
<p></p>
|
|
<h4>$data = <span class="value"> null</span></h4>
|
|
<p>[line 85]</p>
|
|
<br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>mixed</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$detail"></a>
|
|
<p></p>
|
|
<h4>$detail = <span class="value"></span></h4>
|
|
<p>[line 36]</p>
|
|
Returns detail about the event, depending on the type of event.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>link:</b> </td><td><a href="http://developer.mozilla.org/en/DOM/event.detail">http://developer.mozilla.org/en/DOM/event.detail</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$eventPhase"></a>
|
|
<p></p>
|
|
<h4>$eventPhase = <span class="value"></span></h4>
|
|
<p>[line 45]</p>
|
|
Used to indicate which phase of the event flow is currently being evaluated.<br /><br /><p>NOT IMPLEMENTED</p><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>link:</b> </td><td><a href="http://developer.mozilla.org/en/DOM/event.eventPhase">http://developer.mozilla.org/en/DOM/event.eventPhase</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$explicitOriginalTarget"></a>
|
|
<p></p>
|
|
<h4>$explicitOriginalTarget = <span class="value"></span></h4>
|
|
<p>[line 53]</p>
|
|
The explicit original target of the event (Mozilla-specific).<br /><br /><p>NOT IMPLEMENTED</p><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$originalTarget"></a>
|
|
<p></p>
|
|
<h4>$originalTarget = <span class="value"></span></h4>
|
|
<p>[line 61]</p>
|
|
The original target of the event, before any retargetings (Mozilla-specific).<br /><br /><p>NOT IMPLEMENTED</p><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$relatedTarget"></a>
|
|
<p></p>
|
|
<h4>$relatedTarget = <span class="value"></span></h4>
|
|
<p>[line 67]</p>
|
|
Identifies a secondary target for the event.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$runDefault"></a>
|
|
<p></p>
|
|
<h4>$runDefault = <span class="value"> true</span></h4>
|
|
<p>[line 84]</p>
|
|
<br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>mixed</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$target"></a>
|
|
<p></p>
|
|
<h4>$target = <span class="value"></span></h4>
|
|
<p>[line 73]</p>
|
|
Returns a reference to the target to which the event was originally dispatched.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$timeStamp"></a>
|
|
<p></p>
|
|
<h4>$timeStamp = <span class="value"></span></h4>
|
|
<p>[line 79]</p>
|
|
Returns the time that the event was created.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>unknown_type</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
<a name="var$type"></a>
|
|
<p></p>
|
|
<h4>$type = <span class="value"></span></h4>
|
|
<p>[line 83]</p>
|
|
Returns the name of the event (case-insensitive).<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<br />
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>Type:</b> </td>
|
|
<td>mixed</td>
|
|
</tr>
|
|
</table>
|
|
</div><br /><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
</div><br />
|
|
|
|
<hr />
|
|
<a name="class_methods"></a>
|
|
<h3>Class Methods</h3>
|
|
<div class="tags">
|
|
|
|
<hr />
|
|
<a name="method__construct"></a>
|
|
<h3>constructor __construct <span class="smalllinenumber">[line 86]</span></h3>
|
|
<div class="function">
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
|
<code>DOMEvent __construct(
|
|
|
|
$data)</code>
|
|
</td></tr></table>
|
|
</td></tr></table><br />
|
|
|
|
<br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br /><br />
|
|
|
|
|
|
<h4>Parameters:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td class="type"> </td>
|
|
<td><b>$data</b> </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><br />
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
</div>
|
|
<hr />
|
|
<a name="methodpreventDefault"></a>
|
|
<h3>method preventDefault <span class="smalllinenumber">[line 97]</span></h3>
|
|
<div class="function">
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
|
<code>void preventDefault(
|
|
)</code>
|
|
</td></tr></table>
|
|
</td></tr></table><br />
|
|
|
|
Cancels the event (if it is cancelable).<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br /><br />
|
|
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
</div>
|
|
<hr />
|
|
<a name="methodstopPropagation"></a>
|
|
<h3>method stopPropagation <span class="smalllinenumber">[line 104]</span></h3>
|
|
<div class="function">
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
|
<code>void stopPropagation(
|
|
)</code>
|
|
</td></tr></table>
|
|
</td></tr></table><br />
|
|
|
|
Stops the propagation of events further along in the DOM.<br /><br /><br /><br />
|
|
<h4>Tags:</h4>
|
|
<div class="tags">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><b>access:</b> </td><td>public</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br /><br />
|
|
|
|
|
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
</div>
|
|
</div><br />
|
|
|
|
|
|
<div class="credit">
|
|
<hr />
|
|
Documentation generated on Tue, 18 Nov 2008 19:39:25 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.2</a>
|
|
</div>
|
|
</td></tr></table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |