Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Public Member Functions | Data Fields
Dataface_ResultList Class Reference

Public Member Functions

 Dataface_ResultList ($tablename, $db='', $columns=array(), $query=array())
 renderCell (&$record, $fieldname)
 renderRowHeader ($tablename=null)
 renderRow (&$record)
getResults ()
 toHtml ()
 getRowClass (&$record)
 getHeaderCellClass ($col)
 getResultFilters ()

Data Fields

 $_tablename
 $_db
 $_columns
 $_query
 $_table
 $_results
 $_resultSet
 $_filterCols = array()

Detailed Description

Handles the creation and display of a result list from the Database.

Definition at line 38 of file ResultList.php.

Member Function Documentation

Dataface_ResultList (   $tablename,
  $db = '',
  $columns = array(),
  $query = array() 
)

Definition at line 51 of file ResultList.php.

getHeaderCellClass (   $col)

Definition at line 550 of file ResultList.php.

getResultFilters ( )

Definition at line 558 of file ResultList.php.

& getResults ( )

Definition at line 133 of file ResultList.php.

getRowClass ( $record)

Definition at line 542 of file ResultList.php.

renderCell ( $record,
  $fieldname 
)

Definition at line 90 of file ResultList.php.

renderRow ( $record)

Definition at line 120 of file ResultList.php.

renderRowHeader (   $tablename = null)

Definition at line 106 of file ResultList.php.

toHtml ( )

Definition at line 157 of file ResultList.php.

Field Documentation

$_columns

Definition at line 42 of file ResultList.php.

$_db

Definition at line 41 of file ResultList.php.

$_filterCols = array()

Definition at line 49 of file ResultList.php.

$_query

Definition at line 43 of file ResultList.php.

$_results

Definition at line 46 of file ResultList.php.

$_resultSet

Definition at line 47 of file ResultList.php.

$_table

Definition at line 44 of file ResultList.php.

$_tablename

Definition at line 40 of file ResultList.php.


The documentation for this class was generated from the following file: