Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
HTML document.
DOMDocument $_doc = ''Stored DOM representation
Detailsboolean $_excludeNoFollowLinks = 'false'Exclud nofollow links flag
If true then links with rel='nofollow' attribute are not included into document links.
Detailsarray $_headerLinks = 'array'List of document header links
Detailsarray $_inlineTags = 'array'List of inline tags
Detailsarray $_links = 'array'List of document links
Details__construct(
string $data, boolean $isFile, boolean $storeContent, string $defaultEncoding
)
:
Object constructor
Details_highlightNodeRecursive(
DOMNode $contextNode, array $wordsToHighlight, callback $callback, array $params
)
:
highlight words in content of the specified node
Details_highlightTextNode(
DOMText $node, array $wordsToHighlight, callback $callback, array $params
)
:
Highlight text in text node
Details_retrieveNodeText(
DOMNode $node, string $text
)
:
Get node text
We should exclude scripts, which may be not included into comment tags, CDATA sections,
DetailsapplyColour(
string $stringToHighlight, $colour
)
:
stringStandard callback method used to highlight words.
DetailsgetExcludeNoFollowLinks(
)
:
booleanGet exclude nofollow links flag
DetailsgetHTML(
)
:
stringGet HTML
DetailsgetHeaderLinks(
)
:
arrayGet document header links
DetailsgetHtmlBody(
)
:
stringGet HTML body
DetailsgetLinks(
)
:
arrayGet document HREF links
Detailshighlight(
string|array $words, string $colour
=
#66ffff
)
:
stringHighlight text with specified color
DetailshighlightExtended(
string|array $words, callback $callback, array $params
=
array
)
:
stringHighlight text using specified View helper or callback function.
DetailsloadHTML(
string $data, boolean $storeContent
=
false, string $defaultEncoding
)
:
Zend_Search_Lucene_Document_HtmlLoad HTML document from a string
DetailsloadHTMLFile(
string $file, boolean $storeContent
=
false, string $defaultEncoding
)
:
Zend_Search_Lucene_Document_HtmlLoad HTML document from a file
DetailssetExcludeNoFollowLinks(
boolean $newValue
)
:
Set exclude nofollow links flag
Details