2754 lines
81 KiB
HTML
2754 lines
81 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>Docs For Class phpQuery</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: phpQuery</h1>
|
||
|
Source Location: /phpQuery.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">Static namespace for phpQuery functions.</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/phpQuery.html#var$active">$active</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$ajaxAllowedHosts">$ajaxAllowedHosts</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$ajaxSettings">$ajaxSettings</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$debug">$debug</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$defaultCharset">$defaultCharset</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$defaultDoctype">$defaultDoctype</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$defaultDocumentID">$defaultDocumentID</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$documents">$documents</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$dumpCount">$dumpCount</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$lastModified">$lastModified</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$plugins">$plugins</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$pluginsLoaded">$pluginsLoaded</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$pluginsMethods">$pluginsMethods</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#var$pluginsStaticMethods">$pluginsStaticMethods</a></li>
|
||
|
</ul>
|
||
|
</td>
|
||
|
|
||
|
|
||
|
<td valign="top">
|
||
|
<h3><a href="#class_methods">Methods</a></h3>
|
||
|
<ul>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodajax">ajax</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodajaxAllowHost">ajaxAllowHost</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodajaxAllowURL">ajaxAllowURL</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodajaxSetup">ajaxSetup</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodbrowser">browser</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodbrowserGet">browserGet</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodbrowserPost">browserPost</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodcallbackRun">callbackRun</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodcreateDocumentWrapper">createDocumentWrapper</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methoddebug">debug</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodDOMNodeListToArray">DOMNodeListToArray</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodeach">each</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodextend">extend</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodget">get</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodgetDocument">getDocument</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodgetDocumentID">getDocumentID</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodgetDOMDocument">getDOMDocument</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodgrep">grep</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodinArray">inArray</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodisFunction">isFunction</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodisMarkup">isMarkup</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodloadDocument">loadDocument</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodmakeArray">makeArray</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodmap">map</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodmarkupToPHP">markupToPHP</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodmerge">merge</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocument">newDocument</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentFile">newDocumentFile</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentFileHTML">newDocumentFileHTML</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentFilePHP">newDocumentFilePHP</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentFileXHTML">newDocumentFileXHTML</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentFileXML">newDocumentFileXML</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentHTML">newDocumentHTML</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentPHP">newDocumentPHP</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentXHTML">newDocumentXHTML</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodnewDocumentXML">newDocumentXML</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodparam">param</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodparseJSON">parseJSON</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodphp">php</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodphpToMarkup">phpToMarkup</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodplugin">plugin</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodpost">post</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodpq">pq</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodselectDocument">selectDocument</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodtoJSON">toJSON</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodtrim">trim</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodunique">unique</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodunloadDocuments">unloadDocuments</a></li>
|
||
|
<li><a href="../phpQuery/phpQuery.html#methodunsafePHPTags">unsafePHPTags</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 33]<br />
|
||
|
Static namespace for phpQuery functions.<br /><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>abstract:</b> </td><td></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$active"></a>
|
||
|
<p></p>
|
||
|
<h4>static $active = <span class="value"> 0</span></h4>
|
||
|
<p>[line 96]</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$ajaxAllowedHosts"></a>
|
||
|
<p></p>
|
||
|
<h4>static $ajaxAllowedHosts = <span class="value">array(<br>
|
||
|
'.'<br>
|
||
|
)</span></h4>
|
||
|
<p>[line 66]</p>
|
||
|
Hosts allowed for AJAX connections.<br /><br /><p>Dot '.' means $_SERVER['HTTP_HOST'] (if any).</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>array</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br /><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||
|
<a name="var$ajaxSettings"></a>
|
||
|
<p></p>
|
||
|
<h4>static $ajaxSettings = <span class="value">array(<br>
|
||
|
'url' => '',//TODO<br>
|
||
|
'global' => true,<br>
|
||
|
'type' => "GET",<br>
|
||
|
'timeout' => null,<br>
|
||
|
'contentType' => "application/x-www-form-urlencoded",<br>
|
||
|
'processData' => true,<br>
|
||
|
// 'async' => true,<br>
|
||
|
'data' => null,<br>
|
||
|
'username' => null,<br>
|
||
|
'password' => null,<br>
|
||
|
'accepts' => array(<br>
|
||
|
'xml' => "application/xml, text/xml",<br>
|
||
|
'html' => "text/html",<br>
|
||
|
'script' => "text/javascript, application/javascript",<br>
|
||
|
'json' => "application/json, text/javascript",<br>
|
||
|
'text' => "text/plain",<br>
|
||
|
'_default' => "*/*"<br>
|
||
|
))</span></h4>
|
||
|
<p>[line 75]</p>
|
||
|
AJAX settings.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>var:</b> </td><td>XXX should it be static or not ?</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>array</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br /><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||
|
<a name="var$debug"></a>
|
||
|
<p></p>
|
||
|
<h4>static $debug = <span class="value"> false</span></h4>
|
||
|
<p>[line 34]</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$defaultCharset"></a>
|
||
|
<p></p>
|
||
|
<h4>static $defaultCharset = <span class="value"> 'UTF-8'</span></h4>
|
||
|
<p>[line 45]</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$defaultDoctype"></a>
|
||
|
<p></p>
|
||
|
<h4>static $defaultDoctype = <span class="value"> '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br>
|
||
|
"http://www.w3.org/TR/html4/loose.dtd">'</span></h4>
|
||
|
<p>[line 43]</p>
|
||
|
Applies only to HTML.<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$defaultDocumentID"></a>
|
||
|
<p></p>
|
||
|
<h4>static $defaultDocumentID = <span class="value"> null</span></h4>
|
||
|
<p>[line 36]</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$documents"></a>
|
||
|
<p></p>
|
||
|
<h4>static $documents = <span class="value">array()</span></h4>
|
||
|
<p>[line 35]</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$dumpCount"></a>
|
||
|
<p></p>
|
||
|
<h4>static $dumpCount = <span class="value"> 0</span></h4>
|
||
|
<p>[line 97]</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$lastModified"></a>
|
||
|
<p></p>
|
||
|
<h4>static $lastModified = <span class="value"> null</span></h4>
|
||
|
<p>[line 95]</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$plugins"></a>
|
||
|
<p></p>
|
||
|
<h4>static $plugins = <span class="value">array()</span></h4>
|
||
|
<p>[line 51]</p>
|
||
|
Static namespace for plugins.<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>object</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br /><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
||
|
<a name="var$pluginsLoaded"></a>
|
||
|
<p></p>
|
||
|
<h4>static $pluginsLoaded = <span class="value">array()</span></h4>
|
||
|
<p>[line 57]</p>
|
||
|
List of loaded plugins.<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$pluginsMethods"></a>
|
||
|
<p></p>
|
||
|
<h4>static $pluginsMethods = <span class="value">array()</span></h4>
|
||
|
<p>[line 58]</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$pluginsStaticMethods"></a>
|
||
|
<p></p>
|
||
|
<h4>static $pluginsStaticMethods = <span class="value">array()</span></h4>
|
||
|
<p>[line 59]</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 />
|
||
|
</div><br />
|
||
|
|
||
|
<hr />
|
||
|
<a name="class_methods"></a>
|
||
|
<h3>Class Methods</h3>
|
||
|
<div class="tags">
|
||
|
<hr />
|
||
|
<a name="methodajax"></a>
|
||
|
<h3>static method ajax <span class="smalllinenumber">[line 540]</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>static Zend_Http_Client ajax(
|
||
|
[array
|
||
|
$options = array()], [
|
||
|
$xhr = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Make an AJAX request.<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://docs.jquery.com/Ajax/jQuery.ajax">http://docs.jquery.com/Ajax/jQuery.ajax</a></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>TODO:</b> </td><td>$options['cache']</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>TODO:</b> </td><td>$options['processData']</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>TODO:</b> </td><td>support callbackStructure like each() and map()</td>
|
||
|
</tr>
|
||
|
<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">array </td>
|
||
|
<td><b>$options</b> </td>
|
||
|
<td>See $options http://docs.jquery.com/Ajax/jQuery.ajax#toptions Additional options are: 'document' - document for global events, @see phpQuery::getDocumentID() 'referer' - implemented 'requested_with' - TODO; not implemented (X-Requested-With)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$xhr</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodajaxAllowHost"></a>
|
||
|
<h3>static method ajaxAllowHost <span class="smalllinenumber">[line 705]</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>static void ajaxAllowHost(
|
||
|
|
||
|
$host1, [
|
||
|
$host2 = null], [
|
||
|
$host3 = null])</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>$host1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$host2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$host3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodajaxAllowURL"></a>
|
||
|
<h3>static method ajaxAllowURL <span class="smalllinenumber">[line 715]</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>static void ajaxAllowURL(
|
||
|
|
||
|
$url1, [
|
||
|
$url2 = null], [
|
||
|
$url3 = null])</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>$url1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$url2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$url3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodajaxSetup"></a>
|
||
|
<h3>static method ajaxSetup <span class="smalllinenumber">[line 699]</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>static void ajaxSetup(
|
||
|
|
||
|
$options)</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>$options</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodbrowser"></a>
|
||
|
<h3>static method browser <span class="smalllinenumber">[line 964]</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>static void browser(
|
||
|
|
||
|
$ajaxSettings,
|
||
|
$callback, [
|
||
|
$param1 = null], [
|
||
|
$param2 = null], [
|
||
|
$param3 = null])</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>$ajaxSettings</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodbrowserGet"></a>
|
||
|
<h3>static method browserGet <span class="smalllinenumber">[line 948]</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>static void browserGet(
|
||
|
|
||
|
$url,
|
||
|
$callback, [
|
||
|
$param1 = null], [
|
||
|
$param2 = null], [
|
||
|
$param3 = null])</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>$url</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodbrowserPost"></a>
|
||
|
<h3>static method browserPost <span class="smalllinenumber">[line 956]</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>static void browserPost(
|
||
|
|
||
|
$url,
|
||
|
$data,
|
||
|
$callback, [
|
||
|
$param1 = null], [
|
||
|
$param2 = null], [
|
||
|
$param3 = null])</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>$url</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$data</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodcallbackRun"></a>
|
||
|
<h3>static method callbackRun <span class="smalllinenumber">[line 868]</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>static unknown_type callbackRun(
|
||
|
$callback
|
||
|
$callback, [$params
|
||
|
$params = null], [$paramStructure
|
||
|
$paramStructure = null])</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">$callback </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td>Callback</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">$params </td>
|
||
|
<td><b>$params</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">$paramStructure </td>
|
||
|
<td><b>$paramStructure</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodcreateDocumentWrapper"></a>
|
||
|
<h3>static method createDocumentWrapper <span class="smalllinenumber">[line 381]</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>static unknown createDocumentWrapper(
|
||
|
unknown_type
|
||
|
$html, [
|
||
|
$contentType = null], [
|
||
|
$documentID = null], unknown_type
|
||
|
$domId)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Enter description here...<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>return:</b> </td><td>New DOM ID</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>todo:</b> </td><td>support passing DOMDocument object from self::loadDocument</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>todo:</b> </td><td>support PHP tags in input</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>access:</b> </td><td>protected</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<br /><br />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">unknown_type </td>
|
||
|
<td><b>$html</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">unknown_type </td>
|
||
|
<td><b>$domId</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$contentType</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$documentID</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methoddebug"></a>
|
||
|
<h3>static method debug <span class="smalllinenumber">[line 521]</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>static void debug(
|
||
|
|
||
|
$text)</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>$text</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodDOMNodeListToArray"></a>
|
||
|
<h3>static method DOMNodeListToArray <span class="smalllinenumber">[line 502]</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>static void DOMNodeListToArray(
|
||
|
|
||
|
$DOMNodeList)</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>$DOMNodeList</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodeach"></a>
|
||
|
<h3>static method each <span class="smalllinenumber">[line 818]</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>static unknown_type each(
|
||
|
$object
|
||
|
$object, $callback
|
||
|
$callback, [
|
||
|
$param1 = null], [
|
||
|
$param2 = null], [
|
||
|
$param3 = null])</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>link:</b> </td><td><a href="http://docs.jquery.com/Utilities/jQuery.each">http://docs.jquery.com/Utilities/jQuery.each</a></td>
|
||
|
</tr>
|
||
|
<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">$object </td>
|
||
|
<td><b>$object</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">$callback </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodextend"></a>
|
||
|
<h3>static method extend <span class="smalllinenumber">[line 416]</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>static unknown_type extend(
|
||
|
$class
|
||
|
$class, [$file
|
||
|
$file = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Deprecated, use phpQuery::plugin() instead.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>deprecated:</b> </td><td></td>
|
||
|
</tr>
|
||
|
<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">$class </td>
|
||
|
<td><b>$class</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">$file </td>
|
||
|
<td><b>$file</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodget"></a>
|
||
|
<h3>static method get <span class="smalllinenumber">[line 671]</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>static void get(
|
||
|
|
||
|
$url, [
|
||
|
$data = null], [
|
||
|
$callback = null], [
|
||
|
$type = null])</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>$url</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$data</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$type</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodgetDocument"></a>
|
||
|
<h3>static method getDocument <span class="smalllinenumber">[line 239]</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>static <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|queryTemplatesFetch|queryTemplatesParse|queryTemplatesPickup getDocument(
|
||
|
[unknown_type
|
||
|
$id = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Returns document with id $id or last used as phpQueryObject.<br /><br /><p>$id can be retrived via getDocumentID() or getDocumentIDRef(). Chainable.</p><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>see:</b> </td><td><a href="../phpQuery/phpQuery.html#methodselectDocument">phpQuery::selectDocument()</a></td>
|
||
|
</tr>
|
||
|
<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">unknown_type </td>
|
||
|
<td><b>$id</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodgetDocumentID"></a>
|
||
|
<h3>static method getDocumentID <span class="smalllinenumber">[line 754]</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>static string getDocumentID(
|
||
|
$source
|
||
|
$source)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Returns source's document ID.<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 />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">$source </td>
|
||
|
<td><b>$source</b> </td>
|
||
|
<td>DOMNode|phpQueryObject</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodgetDOMDocument"></a>
|
||
|
<h3>static method getDOMDocument <span class="smalllinenumber">[line 777]</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>static string getDOMDocument(
|
||
|
$source
|
||
|
$source)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Get DOMDocument object related to $source.<br /><br /><p>Returns null if such document doesn't exist.</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 /><br />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">$source </td>
|
||
|
<td><b>$source</b> </td>
|
||
|
<td>DOMNode|phpQueryObject|string</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodgrep"></a>
|
||
|
<h3>static method grep <span class="smalllinenumber">[line 922]</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>static unknown_type grep(
|
||
|
$array
|
||
|
$array, $callback
|
||
|
$callback, [$invert
|
||
|
$invert = false])</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>link:</b> </td><td><a href="http://docs.jquery.com/Utilities/jQuery.grep">http://docs.jquery.com/Utilities/jQuery.grep</a></td>
|
||
|
</tr>
|
||
|
<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">$array </td>
|
||
|
<td><b>$array</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">$callback </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">$invert </td>
|
||
|
<td><b>$invert</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodinArray"></a>
|
||
|
<h3>static method inArray <span class="smalllinenumber">[line 808]</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>static void inArray(
|
||
|
|
||
|
$value,
|
||
|
$array)</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>$value</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$array</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodisFunction"></a>
|
||
|
<h3>static method isFunction <span class="smalllinenumber">[line 941]</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>static unknown_type isFunction(
|
||
|
$function
|
||
|
$function)</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>TODO:</b> </td><td>there are problems with non-static methods, second parameter pass it but doesnt verify is method is really callable</td>
|
||
|
</tr>
|
||
|
<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">$function </td>
|
||
|
<td><b>$function</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodisMarkup"></a>
|
||
|
<h3>static method isMarkup <span class="smalllinenumber">[line 518]</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>static Bool isMarkup(
|
||
|
String
|
||
|
$input)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Checks if $input is HTML string, which has to start with '<'.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>deprecated:</b> </td><td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><b>todo:</b> </td><td>still used ?</td>
|
||
|
</tr>
|
||
|
<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">String </td>
|
||
|
<td><b>$input</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodloadDocument"></a>
|
||
|
<h3>static method loadDocument <span class="smalllinenumber">[line 368]</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>static <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|queryTemplatesFetch|queryTemplatesParse|queryTemplatesPick loadDocument(
|
||
|
$document
|
||
|
$document)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Reuses existing DOMDocument object.<br /><br /><p>Chainable.</p><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>return:</b> </td><td>up</td>
|
||
|
</tr>
|
||
|
<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">$document </td>
|
||
|
<td><b>$document</b> </td>
|
||
|
<td>DOMDocument</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodmakeArray"></a>
|
||
|
<h3>static method makeArray <span class="smalllinenumber">[line 794]</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>static unknown_type makeArray(
|
||
|
|
||
|
$obj)</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>link:</b> </td><td><a href="http://docs.jquery.com/Utilities/jQuery.makeArray">http://docs.jquery.com/Utilities/jQuery.makeArray</a></td>
|
||
|
</tr>
|
||
|
<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>$obj</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodmap"></a>
|
||
|
<h3>static method map <span class="smalllinenumber">[line 836]</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>static void map(
|
||
|
|
||
|
$array,
|
||
|
$callback, [
|
||
|
$param1 = null], [
|
||
|
$param2 = null], [
|
||
|
$param3 = null])</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>link:</b> </td><td><a href="http://docs.jquery.com/Utilities/jQuery.map">http://docs.jquery.com/Utilities/jQuery.map</a></td>
|
||
|
</tr>
|
||
|
<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>$array</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param1</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param2</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$param3</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodmarkupToPHP"></a>
|
||
|
<h3>static method markupToPHP <span class="smalllinenumber">[line 298]</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>static void markupToPHP(
|
||
|
|
||
|
$content)</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>$content</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodmerge"></a>
|
||
|
<h3>static method merge <span class="smalllinenumber">[line 898]</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>static void merge(
|
||
|
array
|
||
|
$one, array
|
||
|
$two)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Merge 2 phpQuery objects.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>todo:</b> </td><td>node lists, phpQueryObject</td>
|
||
|
</tr>
|
||
|
<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">array </td>
|
||
|
<td><b>$one</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">array </td>
|
||
|
<td><b>$two</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocument"></a>
|
||
|
<h3>static method newDocument <span class="smalllinenumber">[line 254]</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>static <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|queryTemplatesFetch|queryTemplatesParse|queryTemplatesPickup newDocument(
|
||
|
[unknown_type
|
||
|
$markup = null], [
|
||
|
$contentType = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Creates new document from markup.<br /><br /><p>Chainable.</p><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>TODO:</b> </td><td>support DOMDocument</td>
|
||
|
</tr>
|
||
|
<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">unknown_type </td>
|
||
|
<td><b>$markup</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$contentType</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentFile"></a>
|
||
|
<h3>static method newDocumentFile <span class="smalllinenumber">[line 342]</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>static <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|queryTemplatesFetch|queryTemplatesParse|queryTemplatesPickup newDocumentFile(
|
||
|
string
|
||
|
$file, [
|
||
|
$contentType = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Creates new document from file $file.<br /><br /><p>Chainable.</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 /><br />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">string </td>
|
||
|
<td><b>$file</b> </td>
|
||
|
<td>URLs allowed. See File wrapper page at php.net for more supported sources.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$contentType</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentFileHTML"></a>
|
||
|
<h3>static method newDocumentFileHTML <span class="smalllinenumber">[line 348]</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>static void newDocumentFileHTML(
|
||
|
|
||
|
$file, [
|
||
|
$charset = 'utf-8'])</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>$file</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentFilePHP"></a>
|
||
|
<h3>static method newDocumentFilePHP <span class="smalllinenumber">[line 357]</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>static void newDocumentFilePHP(
|
||
|
|
||
|
$file, [
|
||
|
$contentType = null])</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>$file</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$contentType</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentFileXHTML"></a>
|
||
|
<h3>static method newDocumentFileXHTML <span class="smalllinenumber">[line 354]</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>static void newDocumentFileXHTML(
|
||
|
|
||
|
$file, [
|
||
|
$charset = 'utf-8'])</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>$file</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentFileXML"></a>
|
||
|
<h3>static method newDocumentFileXML <span class="smalllinenumber">[line 351]</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>static void newDocumentFileXML(
|
||
|
|
||
|
$file, [
|
||
|
$charset = 'utf-8'])</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>$file</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentHTML"></a>
|
||
|
<h3>static method newDocumentHTML <span class="smalllinenumber">[line 260]</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>static void newDocumentHTML(
|
||
|
[
|
||
|
$markup = null], [
|
||
|
$charset = 'utf-8'])</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>$markup</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentPHP"></a>
|
||
|
<h3>static method newDocumentPHP <span class="smalllinenumber">[line 271]</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>static void newDocumentPHP(
|
||
|
[
|
||
|
$markup = null], [
|
||
|
$contentType = "text/html;charset=utf-8"])</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>$markup</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$contentType</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentXHTML"></a>
|
||
|
<h3>static method newDocumentXHTML <span class="smalllinenumber">[line 268]</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>static void newDocumentXHTML(
|
||
|
[
|
||
|
$markup = null], [
|
||
|
$charset = 'utf-8'])</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>$markup</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodnewDocumentXML"></a>
|
||
|
<h3>static method newDocumentXML <span class="smalllinenumber">[line 265]</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>static void newDocumentXML(
|
||
|
[
|
||
|
$markup = null], [
|
||
|
$charset = 'utf-8'])</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>$markup</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodparam"></a>
|
||
|
<h3>static method param <span class="smalllinenumber">[line 667]</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>static void param(
|
||
|
array|<a href="../phpQuery/phpQuery.html">phpQuery</a>
|
||
|
$data)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Enter description here...<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 />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">array|<a href="../phpQuery/phpQuery.html">phpQuery</a> </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="methodparseJSON"></a>
|
||
|
<h3>static method parseJSON <span class="smalllinenumber">[line 742]</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>static mixed parseJSON(
|
||
|
string
|
||
|
$json)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Parses JSON into proper PHP type.<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 />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">string </td>
|
||
|
<td><b>$json</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodphp"></a>
|
||
|
<h3>static method php <span class="smalllinenumber">[line 972]</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>static void php(
|
||
|
|
||
|
$code)</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>$code</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodphpToMarkup"></a>
|
||
|
<h3>static method phpToMarkup <span class="smalllinenumber">[line 275]</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>static void phpToMarkup(
|
||
|
|
||
|
$php, [
|
||
|
$charset = 'utf-8'])</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>$php</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$charset</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodplugin"></a>
|
||
|
<h3>static method plugin <span class="smalllinenumber">[line 425]</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>static void plugin(
|
||
|
string
|
||
|
$class, [string
|
||
|
$file = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Extend phpQuery with $class from $file.<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 />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">string </td>
|
||
|
<td><b>$class</b> </td>
|
||
|
<td>Extending class name. Real class name can be prepended phpQuery_.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">string </td>
|
||
|
<td><b>$file</b> </td>
|
||
|
<td>Filename to include. Defaults to "{$class}.php".</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodpost"></a>
|
||
|
<h3>static method post <span class="smalllinenumber">[line 686]</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>static void post(
|
||
|
|
||
|
$url, [
|
||
|
$data = null], [
|
||
|
$callback = null], [
|
||
|
$type = null])</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>$url</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$data</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$callback</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$type</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodpq"></a>
|
||
|
<h3>static method pq <span class="smalllinenumber">[line 131]</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>static <a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|QueryTemplatesSource|QueryTemplatesParse|QueryTemplatesSourceQuery|QueryTemplatesPhpQuery|false pq(
|
||
|
string|DOMNode|DOMNodeList|array
|
||
|
$arg1, [string|<a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|DOMNode
|
||
|
$context = null])</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Multi-purpose function.<br /><br /><p>Use pq() as shortcut.</p><p>In below examples, $pq is any result of pq(); function.</p><p><ol><li>Import markup into existing document (without any attaching):</li></ol><ul><li>Import into selected document:
|
||
|
pq('<div/>') // DOESNT accept text nodes at beginning of input string !</li><li>Import into document with ID from $pq->getDocumentID():
|
||
|
pq('<div/>', $pq->getDocumentID())</li><li>Import into same document as DOMNode belongs to:
|
||
|
pq('<div/>', DOMNode)</li><li>Import into document from phpQuery object:
|
||
|
pq('<div/>', $pq)</li></ul> 2. Run query: <ul><li>Run query on last selected document:
|
||
|
pq('div.myClass')</li><li>Run query on document with ID from $pq->getDocumentID():
|
||
|
pq('div.myClass', $pq->getDocumentID())</li><li>Run query on same document as DOMNode belongs to and use node(s)as root for query:
|
||
|
pq('div.myClass', DOMNode)</li><li>Run query on document from phpQuery object
|
||
|
and use object's stack as root node(s) for query:
|
||
|
pq('div.myClass', $pq)</li></ul></p><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>return:</b> </td><td>phpQuery object or false in case of error.</td>
|
||
|
</tr>
|
||
|
<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">string|DOMNode|DOMNodeList|array </td>
|
||
|
<td><b>$arg1</b> </td>
|
||
|
<td>HTML markup, CSS Selector, DOMNode or array of DOMNodes</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">string|<a href="../phpQuery/phpQueryObject.html">phpQueryObject</a>|DOMNode </td>
|
||
|
<td><b>$context</b> </td>
|
||
|
<td>DOM ID from $pq->getDocumentID(), phpQuery object (determines also query root) or DOMNode (determines also query root)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodselectDocument"></a>
|
||
|
<h3>static method selectDocument <span class="smalllinenumber">[line 225]</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>static void selectDocument(
|
||
|
unknown_type
|
||
|
$id)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Sets default document to $id. Document has to be loaded prior to using this method.<br /><br /><p>$id can be retrived via getDocumentID() or getDocumentIDRef().</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 /><br />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">unknown_type </td>
|
||
|
<td><b>$id</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodtoJSON"></a>
|
||
|
<h3>static method toJSON <span class="smalllinenumber">[line 729]</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>static string toJSON(
|
||
|
mixed
|
||
|
$data)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Returns JSON representation of $data.<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 />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">mixed </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="methodtrim"></a>
|
||
|
<h3>static method trim <span class="smalllinenumber">[line 944]</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>static void trim(
|
||
|
|
||
|
$str)</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>$str</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodunique"></a>
|
||
|
<h3>static method unique <span class="smalllinenumber">[line 931]</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>static void unique(
|
||
|
|
||
|
$array)</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>$array</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodunloadDocuments"></a>
|
||
|
<h3>static method unloadDocuments <span class="smalllinenumber">[line 485]</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>static void unloadDocuments(
|
||
|
[
|
||
|
$id = null], mixed
|
||
|
$documentID)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Unloades all or specified document from memory.<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 />
|
||
|
|
||
|
|
||
|
<h4>Parameters:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">mixed </td>
|
||
|
<td><b>$documentID</b> </td>
|
||
|
<td>@see phpQuery::getDocumentID() for supported types.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type"> </td>
|
||
|
<td><b>$id</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><br />
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="methodunsafePHPTags"></a>
|
||
|
<h3>static method unsafePHPTags <span class="smalllinenumber">[line 499]</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>static string unsafePHPTags(
|
||
|
<a href="../phpQuery/phpQuery.html">phpQuery</a>|string
|
||
|
$content)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Parses phpQuery object or HTML result against PHP tags and makes them active.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>deprecated:</b> </td><td></td>
|
||
|
</tr>
|
||
|
<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"><a href="../phpQuery/phpQuery.html">phpQuery</a>|string </td>
|
||
|
<td><b>$content</b> </td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><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>
|