TIP_Data_View

Introduction

A data view

Source file
/Type/view/data_view.php
Extends
TIP_View

Management of the data views mainly used by the TIP_Content. This class provides a way to bind summuries values to the view (such as totals or subtotals) and some callbacks to customize the view. Specifically, the 'on_row' callback is used to add some custom fields (also called calculated fields) to every row while the 'on_view' callback can be used to fill the 'summary' values with every kind of aggregate function you desire.

Methods

checkOptions (&$options)

&$options
lines
38 - 50
static
yes
access
protected

__construct ($options)

Constructor

$options
array
Properties values
lines
70 - 73
access
protected

Initializes a TIP_View instance.

$options could be an array with the following items: * $options['data']: the reference to a TIP_Data object (requested)

fillRows ()

lines
78 - 82
access
protected
TIP_Data_View was last modified by TiP on Mon 25 May 2009 06:22:25 PM CEST
Hosted by BerliOS Developer Logo