\seekquarry\yioop\views\elementsConfigureElement

Element responsible for drawing the screen used to set up the search engine

This element has form fields to set up the work directory for crawls, the default language, the debug settings and test settings, and the robot identifier information.

Summary

Methods
Properties
Constants
__construct()
render()
$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) 

Draws the forms used to configure the search engine.

This element has two forms on it: One for setting the working directory for crawls, the other to set-up profile information which is mainly stored in the profile.php file in the working directory. The exception is longer data concerning the crawl robot description which is stored in bot.txt.

Parameters

array $data

holds data on the profile elements which have been filled in as well as data about which form fields to display