TextHighlightExtenderThe TextHighlightExtender extender class.
This extender can be used to highlight certain words within a div, span etc. The text is marked with a custom css class, which makes it possible to fully customize the style of the highlighted text.
The extender can be added to the page with the PHP and JavaScript add functions and can then be retrieved with Wigbi.getControl(id).
Note that the extender will not remove any highlighting that were not applied by the extender itself. So, if you apply the extender and after that change the text to one that contains highlighting, the extender will not remove that highlighting.
JAVASCRIPT ********************************
TextHighlightExtender : BaseControl
Properties:
Functions:
Located in /wigbi_controls/TextHighlightExtender.php (line 69)
BaseControl | --TextHighlightExtender
static void
add
(string $controlId, string $elementId, array $words, string $cssClass, bool $caseInsensitive)
static add (line 190)
Add a TextHighlightExtender extender to the page.
Constructor __construct (line 80)
Create an instance of the extender.
This constructor is only intended to be used by Wigbi at startup.
Inherited From BaseControl
BaseControl::__construct()
BaseControl::closeForm()
BaseControl::controlId()
BaseControl::isPostBackSource()
BaseControl::javaScript()
BaseControl::openForm()
BaseControl::registerJavaScript()
BaseControl::submit()
Documentation generated on Sun, 27 Dec 2009 20:12:07 +0100 by phpDocumentor 1.4.1