\seekquarry\yioop\views\elementsPageOptionsElement

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

Elements are classes are used to render portions of a web page which might be common to several views like a view there is supposed to minimal php code in an element

Summary

Methods
Properties
Constants
__construct()
render()
$view
No constants found
No protected methods found
No protected properties found
N/A
renderCrawlTimeTab()
renderSearchTimeTab()
renderTestTab()
renderTestResults()
No private properties found
N/A

Properties

$view

$view : object

The View on which this Element is drawn

Type

object

Methods

__construct()

__construct(object  $view = null) 

constructor stores a reference to the view this element will reside on

Parameters

object $view

object this element will reside on

render()

render(array  $data) 

Draws the page options element to the output buffer

It should be implemented in subclasses.

Parameters

array $data

used to keep track of page range, recrawl frequency, and file types of the page

renderCrawlTimeTab()

renderCrawlTimeTab(array  $data) 

Draws the Crawl Time Page options tab

Parameters

array $data

used to keep track of page range, recrawl frequency, and file types of the page

renderSearchTimeTab()

renderSearchTimeTab(array  $data) 

Draws the Search Time Page options tab

Parameters

array $data

used to keep track of word suggest, subsearch link, signin link, cache link, etc form elements on this tab

renderTestTab()

renderTestTab(array  $data) 

Draws the Test Page options tab

Parameters

array $data

has fields corresponding to any previous test options that had been used (test_method, etc)

renderTestResults()

renderTestResults(array  $data) 

Draws the results of conducting a process test of a web page

Parameters

array $data

has fields corresponding to result of testing a page (AFTER_PAGE_PROCESS, AFTER_RULE_PROCESS, etc)