seek_quarry
[ class tree: seek_quarry ] [ index: seek_quarry ] [ all elements ]

Class: AdminView

Source Location: /views/admin_view.php

Class Overview

View
   |
   --AdminView

View responsible for drawing the admin pages of the SeekQuarry search engine site


Author(s):

  • Chris Pollett

Variables

Methods


Inherited Variables

Inherited Methods

Class: View

View::__construct()
The constructor reads in any Element and Helper subclasses which are needed to draw the view. It also reads in the Layout subclass on which the View will be drawn.
View::render()
This method is responsible for drawing both the layout and the view. It should not be modified to change the display of then view. Instead, implement renderView.
View::renderView()
This abstract method is implemented in sub classes with code which actually draws the view. The current layouts render method calls this function.

Class Details

[line 45]
View responsible for drawing the admin pages of the SeekQuarry search engine site



Tags:

author:  Chris Pollett


[ Top ]


Class Variables

$elements = array("language", "activity", "signin",
        "managecrawls", "manageaccount", "manageusers", "manageroles",
        "mixcrawls", "managelocales", "editlocales", "crawloptions",
        "editmix", "pageoptions", "resultseditor", "searchsources",
        "managemachines", "machinelog", "editstatic", "configure")

[line 54]

Names of element objects that the view uses to display itself


Type:   array
Overrides:   Array


[ Top ]

$helpers = array('options')

[line 62]

Names of helper objects that the view uses to help draw itself


Type:   array
Overrides:   Array


[ Top ]

$layout =  "web"

[line 50]

This view is drawn on a web layout


Type:   string
Overrides:   Array


[ Top ]



Class Methods


method renderView [line 71]

void renderView( array $data)

Renders the list of admin activities and draws the current activity Renders the Javascript to autologout after an hour



Overrides View::renderView() (This abstract method is implemented in sub classes with code which actually draws the view. The current layouts render method calls this function.)

Parameters:

array   $data   what is contained in this array depend on the current admin activity. The $data['ELEMENT'] says which activity to render

[ Top ]


Documentation generated by phpDocumentor 1.4.3