Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($id='infiniteScrolling', $itemsPerPage=null) | |
fetchRow ($args) | |
fetchRows ($args) | |
fetchUIElements ($request, $grid) | |
getJSClass () | |
![]() | |
getGridDataElements ($args) | |
getGridRangeInfo ($args) | |
getItemIterator () | |
getRequestArgs ($args) | |
setGridDataElements ($args) | |
setOptions ($request, $grid) | |
![]() | |
__construct ($id) | |
addOptions ($options) | |
fetchGrid ($args) | |
getId () | |
getInitializedCategoryRowInstance ($args) | |
getInitializedRowInstance ($args) | |
getOptions () | |
gridInitialize ($args) | |
loadData ($args) | |
saveSequence ($args) | |
setId ($id) | |
Additional Inherited Members | |
![]() | |
$_id | |
$_options | |
Add infinite scrolling functionality to grids. It doesn't support category grids.
Definition at line 20 of file InfiniteScrollingFeature.inc.php.
InfiniteScrollingFeature::__construct | ( | $id = 'infiniteScrolling' , |
|
$itemsPerPage = null |
|||
) |
Constructor.
Reimplemented from GeneralPagingFeature.
Definition at line 26 of file InfiniteScrollingFeature.inc.php.
InfiniteScrollingFeature::fetchRow | ( | $args | ) |
Hook called after a row is fetched.
$args | array 'request' => PKPRequest 'grid' => GridHandler 'row' => mixed GridRow or null 'jsonMessage' => JSONMessage Check if user really deleted a row and fetch the last one from the current page. |
Reimplemented from GridFeature.
Definition at line 103 of file InfiniteScrollingFeature.inc.php.
References GridFeature\getOptions(), and GeneralPagingFeature\setOptions().
InfiniteScrollingFeature::fetchRows | ( | $args | ) |
Hook called after a group of rows is fetched.
$args | array 'request' => PKPRequest 'grid' => GridHandler 'jsonMessage' => JSONMessage |
Reimplemented from GridFeature.
Definition at line 81 of file InfiniteScrollingFeature.inc.php.
References GridFeature\getOptions(), and GeneralPagingFeature\setOptions().
InfiniteScrollingFeature::fetchUIElements | ( | $request, | |
$grid | |||
) |
Fetch any user interface elements that this feature needs to add its functionality into the grid. Use this only for ui elements that grid will not fetch itself.
$request | PKPRequest |
$grid | GridHandler The grid that this feature is attached to. |
Reimplemented from GridFeature.
Definition at line 44 of file InfiniteScrollingFeature.inc.php.
References GeneralPagingFeature\getItemIterator(), PKPTemplateManager\getManager(), and GridFeature\getOptions().
InfiniteScrollingFeature::getJSClass | ( | ) |
Return the java script feature class.
Reimplemented from GridFeature.
Definition at line 37 of file InfiniteScrollingFeature.inc.php.