PageOptionsElement
extends Element
in package
This element is used to render the Page Options admin activity This activity lets a user control the amount of web pages downloaded, the recrawl frequency, the file types, etc of the pages crawled
Tags
Table of Contents
- $view : object
- The View on which this Element is drawn
- __construct() : mixed
- constructor stores a reference to the view this element will reside on
- formatHref() : string
- Used to slightly clean up hypertext links before drawing them (get rid of empty queries, avoid double encoding)
- render() : mixed
- Draws the page options element to the output buffer
- renderCrawlTimeTab() : mixed
- Draws the Crawl Time Page options tab
- renderSearchTimeTab() : mixed
- Draws the Search Time Page options tab
- renderTestResults() : mixed
- Draws the results of conducting a process test of a web page
- renderTestTab() : mixed
- Draws the Test Page options tab
Properties
$view
The View on which this Element is drawn
public
object
$view
Methods
__construct()
constructor stores a reference to the view this element will reside on
public
__construct([object $view = null ]) : mixed
Parameters
- $view : object = null
-
object this element will reside on
Return values
mixed —formatHref()
Used to slightly clean up hypertext links before drawing them (get rid of empty queries, avoid double encoding)
public
formatHref(string $url) : string
Parameters
- $url : string
-
to clean up
Return values
string —cleaned url
render()
Draws the page options element to the output buffer
public
render(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
used to keep track of page range, recrawl frequency, and file types of the page
Return values
mixed —renderCrawlTimeTab()
Draws the Crawl Time Page options tab
private
renderCrawlTimeTab(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
used to keep track of page range, recrawl frequency, and file types of the page
Return values
mixed —renderSearchTimeTab()
Draws the Search Time Page options tab
private
renderSearchTimeTab(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
used to keep track of word suggest, subsearch link, signin link, cache link, etc form elements on this tab
Return values
mixed —renderTestResults()
Draws the results of conducting a process test of a web page
private
renderTestResults(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
has fields corresponding to result of testing a page (AFTER_PAGE_PROCESS, AFTER_RULE_PROCESS, etc)
Return values
mixed —renderTestTab()
Draws the Test Page options tab
private
renderTestTab(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
has fields corresponding to any previous test options that had been used (test_method, etc)