Property | Type | Description | |
---|---|---|---|
$ajax_reload | boolean | Should we reload parent with AJAX ? | |
$base_page | string | lSet this to nicely redefine base page | |
$cur_page | integer | ||
$found_rows | integer | ||
$ipp | integer | How many records should we show per page. | |
$memorize | boolean | Should we remember page when user comes back ? | |
$owner | View | ||
$range | integer | How many adjacent pages from current page should we show. | |
$skip | integer | How many records should we skip. By default don't skip anything. | |
$skip_var | string | GET argument to use to specify page | |
$source | SQL_Model | Model | DB_dsql | mixed | Data source. Set with setSource(). | |
$total_pages | integer |
Method | Description | |
---|---|---|
defaultSpot ( ) : string | Set default spot. | |
defaultTemplate ( ) : array | string | Set default template. | |
init ( ) | Initialization. | |
ipp ( $rows ) | ||
recursiveRender ( ) | Recursively render this view. | |
setRowsPerPage ( integer $rows ) | Set number of items displayed per page. | |
setSource ( SQL_Model | Model | DB_dsql | mixed $source ) | Set a custom source. Must be an object with foundRows() method. |
public defaultTemplate ( ) : array | string | ||
return | array | string |
public setRowsPerPage ( integer $rows ) | ||
$rows | integer |
public bool $ajax_reload | ||
return | boolean |
public string $base_page | ||
return | string |
public bool $memorize | ||
return | boolean |
public int $range | ||
return | integer |
public int $skip | ||
return | integer |
public string $skip_var | ||
return | string |
public SQL_Model|Model|DB_dsql|mixed $source | ||
return | SQL_Model | Model | DB_dsql | mixed |