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

Class: StatisticsView

Source Location: /views/statistics_view.php

Class Overview

View
   |
   --StatisticsView

Draws a view displaying statistical information about a web crawl such as number of hosts visited, distribution of file sizes, distribution of file type, distribution of languages, etc


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 47]
Draws a view displaying statistical information about a web crawl such as number of hosts visited, distribution of file sizes, distribution of file type, distribution of languages, etc



Tags:

author:  Chris Pollett


[ Top ]


Class Variables

$elements = array()

[line 58]

Names of element objects that the view uses to display itself


Type:   array
Overrides:   Array


[ Top ]

$helpers = array()

[line 63]

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


Type:   array
Overrides:   Array


[ Top ]

$layout =  "web"

[line 52]

This view is drawn on a web layout


Type:   string
Overrides:   Array


[ Top ]



Class Methods


method renderView [line 71]

void renderView( array $data)

Draws the web page used to display statistics about the default crawl



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   contains anti CSRF token as well statistics info about a web crawl

[ Top ]


Documentation generated by phpDocumentor 1.4.3