Mysql_PageableSortable Class Reference

Inheritance diagram for Mysql_PageableSortable:
Claro_Pageable Claro_Sortable

Public Member Functions

 __construct ($database)
 sortBy ($field, $direction)
 setLimit ($length, $offset=null)
 count ()
 getPage ()
 getAll ()

Protected Member Functions

 getSelectQuery ()
 getLimit ()
 getOrder ()

Protected Attributes

 $sortBy = array()
 $offset = null
 $length = null
 $count = null
 $database

Detailed Description

Definition at line 57 of file pager.lib.php.


Constructor & Destructor Documentation

__construct ( database  ) 

Definition at line 65 of file pager.lib.php.


Member Function Documentation

count (  ) 

Definition at line 83 of file pager.lib.php.

getAll (  ) 

Implements Claro_Pageable.

Definition at line 139 of file pager.lib.php.

getLimit (  )  [protected]

Definition at line 92 of file pager.lib.php.

getOrder (  )  [protected]

Definition at line 104 of file pager.lib.php.

getPage (  ) 

Implements Claro_Pageable.

Definition at line 130 of file pager.lib.php.

getSelectQuery (  )  [abstract, protected]
setLimit ( length,
offset = null 
)

Implements Claro_Pageable.

Definition at line 77 of file pager.lib.php.

sortBy ( field,
direction 
)

Implements Claro_Sortable.

Definition at line 72 of file pager.lib.php.


Field Documentation

$count = null [protected]

Definition at line 62 of file pager.lib.php.

$database [protected]

Definition at line 63 of file pager.lib.php.

$length = null [protected]

Definition at line 61 of file pager.lib.php.

$offset = null [protected]

Definition at line 60 of file pager.lib.php.

$sortBy = array() [protected]

Definition at line 59 of file pager.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:39 2010 for Claroline API by  doxygen 1.6.3