Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
OrderCategoryGridItemsFeature Class Reference
Inheritance diagram for OrderCategoryGridItemsFeature:
OrderItemsFeature GridFeature

Public Member Functions

 _saveRowsInCategoriesSequence (&$grid, $gridCategoryElements, $data)
 getInitializedCategoryRowInstance ($args)
 getInitializedRowInstance ($args)
 getJSClass ()
 getType ()
 OrderCategoryGridItemsFeature ($typeOption=ORDER_CATEGORY_GRID_CATEGORIES_AND_ROWS, $overrideRowTemplate=true)
 saveSequence ($args)
- Public Member Functions inherited from OrderItemsFeature
 addRowOrderAction ($row)
 fetchUIElements ($request, $grid)
 getInitializedRowInstance ($args)
 getOverrideRowTemplate (&$gridRow)
 gridInitialize ($args)
 isOrderActionNecessary ()
 OrderItemsFeature ($overrideRowTemplate)
 setOptions ($request, $grid)
 setOverrideRowTemplate ($overrideRowTemplate)
- Public Member Functions inherited from GridFeature
 addOptions ($options)
 fetchGrid ($args)
 fetchRow ($args)
 fetchUIElements ($request, $grid)
 getGridDataElements ($args)
 getGridRangeInfo ($args)
 getId ()
 getInitializedCategoryRowInstance ($args)
 getInitializedRowInstance ($args)
 getJSClass ()
 getOptions ()
 getRequestArgs ($args)
 GridFeature ($id)
 gridInitialize ($args)
 loadData ($args)
 saveSequence ($args)
 setGridDataElements ($args)
 setId ($id)
 setOptions ($request, $grid)

Detailed Description

Implements category grid ordering functionality.

Definition at line 23 of file

Member Function Documentation

OrderCategoryGridItemsFeature::_saveRowsInCategoriesSequence ( $grid,

Save row elements sequence inside categories.


Definition at line 129 of file

References getType().

Referenced by saveSequence().

OrderCategoryGridItemsFeature::getInitializedCategoryRowInstance (   $args)
OrderCategoryGridItemsFeature::getInitializedRowInstance (   $args)
OrderCategoryGridItemsFeature::getJSClass ( )
OrderCategoryGridItemsFeature::getType ( )

Return this feature type.

int One of the ORDER_CATEGORY_GRID_... constants

Definition at line 48 of file

References GridFeature\getOptions().

Referenced by _saveRowsInCategoriesSequence(), getInitializedCategoryRowInstance(), getInitializedRowInstance(), and saveSequence().

OrderCategoryGridItemsFeature::OrderCategoryGridItemsFeature (   $typeOption = ORDER_CATEGORY_GRID_CATEGORIES_AND_ROWS,
  $overrideRowTemplate = true 


$typeOptionint Defines which grid elements will be orderable (categories and/or rows).
$overrideRowTemplateboolean 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.

Definition at line 34 of file

References GridFeature\addOptions().

OrderCategoryGridItemsFeature::saveSequence (   $args)

The documentation for this class was generated from the following file: