프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array | string |
public setRowsPerPage ( integer $rows ) | ||
$rows | integer |
public bool $memorize | ||
리턴 | boolean |
public int $range | ||
리턴 | integer |
public int $skip | ||
리턴 | integer |
public SQL_Model|Model|DB_dsql|mixed $source | ||
리턴 | SQL_Model | Model | DB_dsql | mixed |