From 3bea05dd6bde032a7a145f7b43d14e07f8c141cc Mon Sep 17 00:00:00 2001 From: Pavel Volokitin Date: Sun, 5 May 2013 10:40:55 +0600 Subject: [PATCH] documented Crawler::html() --- components/dom_crawler.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 2a8985e4a75..0348d8afcf7 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -200,6 +200,11 @@ and :phpclass:`DOMNode` objects: $html .= $domElement->ownerDocument->saveHTML($domElement); } + Or you can get the HTML of the first node using + :method:`Symfony\\Component\\DomCrawler\\Crawler::html`:: + + $html = $crawler->html(); + Form and Link support ~~~~~~~~~~~~~~~~~~~~~ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy