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

Class: SearchView

Source Location: /views/search_view.php

Class Overview

View
   |
   --SearchView

Web page used to present search results It is also contains the search box for people to types searches into


Author(s):

  • Chris Pollett

Implements interfaces:

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 49]
Web page used to present search results It is also contains the search box for people to types searches into



Tags:

author:  Chris Pollett


[ Top ]


Class Variables

$elements = array("signin", "subsearch", "footer")

[line 59]

Names of element objects that the view uses to display itself


Type:   array
Overrides:   Array


[ Top ]

$helpers = array("pagination", "filetype", "displayresults",
        "videourl", "images", "feeds")

[line 54]

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


Type:   array
Overrides:   Array


[ Top ]

$layout =  "web"

[line 64]

This view is drawn on a web layout


Type:   string
Overrides:   Array


[ Top ]



Class Methods


method renderView [line 75]

void renderView( array $data)

Draws the main landing pages as well as search result pages



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   PAGES contains all the summaries of web pages returned by the current query, $data also contains information about how the the query took to process and the total number of results, how to fetch the next results, etc.

[ Top ]


Documentation generated by phpDocumentor 1.4.3