Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($typeOption=ORDER_CATEGORY_GRID_CATEGORIES_AND_ROWS, $overrideRowTemplate=true, $grid=null) | |
_saveRowsInCategoriesSequence ($request, &$grid, $gridCategoryElements, $data) | |
getInitializedCategoryRowInstance ($args) | |
getInitializedRowInstance ($args) | |
getJSClass () | |
getType () | |
saveSequence ($args) | |
Public Member Functions inherited from OrderItemsFeature | |
__construct ($overrideRowTemplate, $nonOrderableItemMessage=null) | |
addRowOrderAction ($row) | |
fetchUIElements ($request, $grid) | |
getNonOrderableItemMessage () | |
getOverrideRowTemplate (&$gridRow) | |
gridInitialize ($args) | |
isOrderActionNecessary () | |
setNonOrderableItemMessage ($nonOrderableItemMessage) | |
setOptions ($request, $grid) | |
setOverrideRowTemplate ($overrideRowTemplate) | |
Public Member Functions inherited from GridFeature | |
__construct ($id) | |
addOptions ($options) | |
fetchGrid ($args) | |
fetchRow ($args) | |
fetchRows ($args) | |
getGridDataElements ($args) | |
getGridRangeInfo ($args) | |
getId () | |
getOptions () | |
getRequestArgs ($args) | |
loadData ($args) | |
setGridDataElements ($args) | |
setId ($id) | |
Additional Inherited Members | |
Data Fields inherited from OrderItemsFeature | |
$_nonOrderableItemMessage | |
$_overrideRowTemplate | |
Data Fields inherited from GridFeature | |
$_id | |
$_options | |
Implements category grid ordering functionality.
Definition at line 23 of file OrderCategoryGridItemsFeature.inc.php.
OrderCategoryGridItemsFeature::__construct | ( | $typeOption = ORDER_CATEGORY_GRID_CATEGORIES_AND_ROWS , |
|
$overrideRowTemplate = true , |
|||
$grid = null |
|||
) |
Constructor.
$typeOption | int Defines which grid elements will be orderable (categories and/or rows). |
$overrideRowTemplate | boolean This feature uses row actions and it will force the usage of the gridRow.tpl. If you want to use a different grid row template file, set this flag to false and make sure to use a template file that adds row actions. |
$grid | GridHandler The grid this feature is to be part of |
Definition at line 35 of file OrderCategoryGridItemsFeature.inc.php.
References GridFeature\addOptions().
OrderCategoryGridItemsFeature::_saveRowsInCategoriesSequence | ( | $request, | |
& | $grid, | ||
$gridCategoryElements, | |||
$data | |||
) |
Save row elements sequence inside categories.
$request | PKPRequest |
$grid | GridHandler |
$gridCategoryElements | array |
$data |
Definition at line 137 of file OrderCategoryGridItemsFeature.inc.php.
References getType().
Referenced by saveSequence().
OrderCategoryGridItemsFeature::getInitializedCategoryRowInstance | ( | $args | ) |
Reimplemented from GridFeature.
Definition at line 87 of file OrderCategoryGridItemsFeature.inc.php.
References OrderItemsFeature\addRowOrderAction(), and getType().
OrderCategoryGridItemsFeature::getInitializedRowInstance | ( | $args | ) |
Reimplemented from OrderItemsFeature.
Definition at line 78 of file OrderCategoryGridItemsFeature.inc.php.
References getType().
OrderCategoryGridItemsFeature::getJSClass | ( | ) |
Reimplemented from GridFeature.
Definition at line 67 of file OrderCategoryGridItemsFeature.inc.php.
OrderCategoryGridItemsFeature::getType | ( | ) |
Return this feature type.
Definition at line 55 of file OrderCategoryGridItemsFeature.inc.php.
References GridFeature\getOptions().
Referenced by _saveRowsInCategoriesSequence(), getInitializedCategoryRowInstance(), getInitializedRowInstance(), and saveSequence().
OrderCategoryGridItemsFeature::saveSequence | ( | $args | ) |
Reimplemented from GridFeature.
Definition at line 97 of file OrderCategoryGridItemsFeature.inc.php.
References _saveRowsInCategoriesSequence(), and getType().