Lines Matching refs:debug

213             self::debug("Load markup for content type {$this->contentType}");
218 phpQuery::debug("Loading HTML, content type '{$this->contentType}'");
223 phpQuery::debug("Loading XML, content type '{$this->contentType}'");
229 phpQuery::debug("Loading XML, content type '{$this->contentType}'");
232 … phpQuery::debug("Could not determine document type from content type '{$this->contentType}'");
237 phpQuery::debug("Loading XML, isXML() == true");
240 … phpQuery::debug('Loading as XML failed, trying to load as HTML, isXHTML == true');
244 phpQuery::debug("Loading HTML, isXML() == false");
263 if (phpQuery::$debug)
264 phpQuery::debug('Full markup load (HTML): '.substr($markup, 0, 250));
290 phpQuery::debug("DOC: $documentCharset REQ: $requestedCharset");
292 phpQuery::debug("CHARSET CONVERT");
300 phpQuery::debug("DETECTED '$docEncoding'");
306 phpQuery::debug("CONVERT $docEncoding => $requestedCharset");
312 phpQuery::debug("TODO: charset conversion without mbstring...");
317 … phpQuery::debug("Full markup load (HTML), DocumentFragment detected, using charset '$charset'");
321 phpQuery::debug("Full markup load (HTML), appending charset: '$charset'");
324 phpQuery::debug("Full markup load (HTML), documentCreate('$charset')");
326 $return = phpQuery::$debug === 2
337 if (phpQuery::$debug)
338 phpQuery::debug('Full markup load (XML): '.substr($markup, 0, 250));
345 self::debug('Full markup load (XML), XHTML detected');
362 … phpQuery::debug("Full markup load (XML), appending XHTML charset '$documentCharset'");
383 … phpQuery::debug("Full markup load (XML), DocumentFragment detected, using charset '$charset'");
389 phpQuery::debug("Full markup load (XML), appending charset '$charset'");
401 $return = phpQuery::$debug === 2
406 $libxmlStatic = phpQuery::$debug === 2
589 self::debug('Importing nodes to document');
679 phpQuery::debug('documentFragmentToMarkup');
695 if (phpQuery::$debug)
696 phpQuery::debug('documentFragmentToMarkup: '.substr($markup, 0, 150));
721 self::debug("Getting outerXML with charset '{$this->charset}'");
738 … self::debug("Getting markup, moving selected nodes (".count($loop).") to new DocumentFragment");
743 self::debug("Fixing XHTML");
746 self::debug("Markup: ".substr($markup, 0, 250));
751 self::debug("Getting markup, DocumentFragment detected");
760 …self::debug("Getting markup (".($this->isXML?'XML':'HTML')."), final with charset '{$this->charset…
765 self::debug("Fixing XHTML");
768 self::debug("Markup: ".substr($markup, 0, 250));
779 public static function debug($text) { function in DOMDocumentWrapper
780 phpQuery::debug($text);
858 phpQuery::debug("Triggering ".($i?"bubbled ":'')."event '{$type}' on "
874 phpQuery::debug("Calling event handler\n");
908 phpQuery::debug("Binding '$type' event");
1380 protected function debug($in) { function in phpQueryObject
1381 if (! phpQuery::$debug )
1726 $this->debug('Stack empty, skipping...');
1752 $this->debug("XPATH: {$query}");
1755 $this->debug("QUERY FETCHED");
1757 $this->debug('Nothing found');
1758 $debug = array();
1762 phpQuery::$debug ?
1763 … $this->debug("Found: ".$this->whois( $node ).", comparing with {$compare}()")
1765 $phpQueryDebug = phpQuery::$debug;
1766 phpQuery::$debug = false;
1770 phpQuery::$debug = $phpQueryDebug;
1775 if (phpQuery::$debug)
1776 $debug[] = $this->whois( $node );
1780 if (phpQuery::$debug) {
1781 $this->debug("Matched ".count($debug).": ".implode(', ', $debug));
1812 $this->debug(array('FIND', $selectors, $queries));
1937 phpQuery::debug("Unrecognized token '$s'");
2186 …phpQuery::debug($a . "*" . floor($index / $a) . "+$b-1 == " . ($a * floor($index / $a) + $b - 1) .…
2228 $this->debug("Unknown pseudoclass '{$class}', skipping...");
2243 phpQuery::debug(array("Is:", $selector));
2273 $this->debug("Filtering by callback");
2301 $this->debug(array("Filtering:", $selectors));
2390 $this->debug(array('Skipping non simple selector', $selector));
2417 $this->debug("Stack length after filter(): ".count($finalStack));
2867 $this->debug("Removing '{$node->tagName}'");
3154 $this->debug("Inserting data with '{$type}'");
3245 phpQuery::debug("From ".count($insertFrom)."; To ".count($insertTo)." nodes");
3536 phpQuery::debug(array('not', $selector));
3538 phpQuery::debug('not');
3636 $this->debug('parents() - stack empty');
4070 $this->debug('iterating foreach');
4241 $debug = phpQuery::$debug;
4242 phpQuery::$debug = false;
4249 $debug = phpQuery::$debug;
4250 phpQuery::$debug = false;
4253 phpQuery::$debug = $debug;
4258 $debug = phpQuery::$debug;
4259 phpQuery::$debug = false;
4262 phpQuery::$debug = $debug;
4268 $debug = phpQuery::$debug;
4269 phpQuery::$debug = false;
4272 phpQuery::$debug = $debug;
4401 public static $debug = false; variable in phpQuery
4603 self::debug("Selecting document '$id' as default one");
4894 self::debug("Duplicate method '{$method}', can\'t extend '{$target}'");
4899 self::debug("Duplicate method '{$method}' from plugin '{$targetRef2[$method]}',"
5012 public static function debug($text) { function in phpQuery
5013 if (self::$debug)
5161 if (phpQuery::$debug) {
5162 self::debug("{$options['type']}: {$options['url']}\n");
5163 self::debug("Options: <pre>".var_export($options, true)."</pre>\n");
5169 if (phpQuery::$debug) {
5170 self::debug('Status: '.$response->getStatus().' / '.$response->getMessage());
5171 self::debug($client->getLastRequest());
5172 self::debug($response->getHeaders());
5529 self::debug('WebBrowser plugin not available...');
5547 self::debug('WebBrowser plugin not available...');
5564 self::debug('WebBrowser plugin not available...');