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
boolean $_excludeNoFollowLinks = 'false'
Exclud nofollow links flag
If true then links with rel='nofollow' attribute are not included into document links.
array $_headerLinks = 'array'
List of document header links
array $_inlineTags = 'array'
List of inline tags
array $_links = 'array'
List of document links
__construct(
string $data, boolean $isFile, boolean $storeContent, string $defaultEncoding
)
:
Object constructor
_highlightNodeRecursive(
DOMNode $contextNode, array $wordsToHighlight, callback $callback, array $params
)
:
highlight words in content of the specified node
_highlightTextNode(
DOMText $node, array $wordsToHighlight, callback $callback, array $params
)
:
Highlight text in text node
_retrieveNodeText(
DOMNode $node, string $text
)
:
Get node text
We should exclude scripts, which may be not included into comment tags, CDATA sections,
applyColour(
string $stringToHighlight, $colour
)
:
string
Standard callback method used to highlight words.
getExcludeNoFollowLinks(
)
:
boolean
Get exclude nofollow links flag
getHTML(
)
:
string
Get HTML
getHeaderLinks(
)
:
array
Get document header links
getHtmlBody(
)
:
string
Get HTML body
getLinks(
)
:
array
Get document HREF links
highlight(
string|array $words, string $colour
=
#66ffff
)
:
string
Highlight text with specified color
highlightExtended(
string|array $words, callback $callback, array $params
=
array
)
:
string
Highlight text using specified View helper or callback function.
loadHTML(
string $data, boolean $storeContent
=
false, string $defaultEncoding
)
:
Zend_Search_Lucene_Document_Html
Load HTML document from a string
loadHTMLFile(
string $file, boolean $storeContent
=
false, string $defaultEncoding
)
:
Zend_Search_Lucene_Document_Html
Load HTML document from a file
setExcludeNoFollowLinks(
boolean $newValue
)
:
Set exclude nofollow links flag