Public Member Functions | Protected Member Functions | Protected Attributes

List_Review Class Reference

Inheritance diagram for List_Review:
Collaboration diagram for List_Review:

List of all members.

Public Member Functions

 render ()

Protected Member Functions

 _getViewListSize ()
 _setFilterParams ()
 _buildSelectString ($oObject=null)
 _prepareWhereQuery ($aWhere, $sSql)
 _prepareOrderByQuery ($sSql=null)

Protected Attributes

 $_sListType = 'oxlist'
 $_sListClass = 'oxreview'

Detailed Description

user list "view" class.

Definition at line 6 of file list_review.php.


Member Function Documentation

List_Review._buildSelectString ( oObject = null  )  [protected]

Returns select query string

Parameters:
object $oObject list item object
Returns:
string

Reimplemented from oxAdminList.

Definition at line 87 of file list_review.php.

List_Review._getViewListSize (  )  [protected]

Viewable list size getter

Returns:
int

Reimplemented from oxAdminList.

Definition at line 27 of file list_review.php.

List_Review._prepareOrderByQuery ( sSql = null  )  [protected]

Adds order by to SQL query string.

Parameters:
string $sSql sql string
Returns:
string

Reimplemented from oxAdminList.

Definition at line 138 of file list_review.php.

List_Review._prepareWhereQuery ( aWhere,
sSql 
) [protected]

Adds filtering conditions to query string

Parameters:
array $aWhere filter conditions
string $sSql query string
Returns:
string

Reimplemented from Article_List.

Definition at line 108 of file list_review.php.

List_Review._setFilterParams (  )  [protected]

Sets view filter data

  • aViewData['where'] containts filter data like $object->oxarticles__oxtitle = filter_value
  • aViewData['whereparam'] contains string which can be later used in url. and looks like &where[oxarticles.oxtitle]=_filter_value_&art_category=_filter_categry_;
Returns:
null

Reimplemented from oxAdminList.

Definition at line 59 of file list_review.php.

List_Review.render (  ) 

Executes parent method parent.render(), passes data to Smarty engine and returns name of template file "list_review.tpl".

Returns:
string

Reimplemented from Article_List.

Definition at line 38 of file list_review.php.


Member Data Documentation

List_Review.$_sListClass = 'oxreview' [protected]

Reimplemented from Article_List.

Definition at line 20 of file list_review.php.

List_Review.$_sListType = 'oxlist' [protected]

Reimplemented from Article_List.

Definition at line 13 of file list_review.php.


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