Свойство | 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 |
Méthode | 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 | ||
Résultat | array | string |
public setRowsPerPage ( integer $rows ) | ||
$rows | integer |
public bool $ajax_reload | ||
Résultat | boolean |
public string $base_page | ||
Résultat | string |
public bool $memorize | ||
Résultat | boolean |
public int $range | ||
Résultat | integer |
public int $skip | ||
Résultat | integer |
public string $skip_var | ||
Résultat | string |
public SQL_Model|Model|DB_dsql|mixed $source | ||
Résultat | SQL_Model | Model | DB_dsql | mixed |