\seekquarry\yioop\views\elementsSearchsourcesElement

Contains the forms for managing search sources for news, etc.

Also, contains form for managing subsearches which appear in SearchView

Summary

Methods
Properties
Constants
__construct()
render()
renderFeedTestResults()
renderFormsAndTables()
renderMediaSourceForm()
renderSubsearchForm()
renderMediaSearchForm()
renderSubsearchSearchForm()
$view
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
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)

Renders search source, subsearch forms or renders the results of testing a search source

It should be implemented in subclasses.

Parameters

array $data

available Search sources and subsearches or feed test results

renderFeedTestResults()

renderFeedTestResults(array  $data)

Renders the results of testing a search source

Parameters

array $data

available Search sources and subsearches or feed test results

renderFormsAndTables()

renderFormsAndTables(array  $data)

Renders search source and subsearch forms

Parameters

array $data

available Search sources and subsearches

renderMediaSourceForm()

renderMediaSourceForm(  $data)

Parameters

$data

renderSubsearchForm()

renderSubsearchForm(array  $data)

Draws the Subsearch element used to configure subsearches that are choosable on landing page and elsewhere

Parameters

array $data

consists of values of search source fields set so far as well as values of the drops downs on the form

renderMediaSearchForm()

renderMediaSearchForm(array  $data)

Draws the search for media source forms

Parameters

array $data

consists of values of search source fields set so far as well as values of the drops downs on the form

renderSubsearchSearchForm()

renderSubsearchSearchForm(array  $data)

Draws the search for media source forms

Parameters

array $data

consists of values of search source fields set so far as well as values of the drops downs on the form