Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
OrderItemsFeature Class Reference
Inheritance diagram for OrderItemsFeature:
GridFeature OrderCategoryGridItemsFeature OrderGridItemsFeature OrderListbuilderItemsFeature OrderMultipleListsItemsFeature

Public Member Functions

 addRowOrderAction (&$row)
 
 fetchUIElements (&$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)
 
 fetchUIElements (&$grid)
 
 getId ()
 
 getInitializedCategoryRowInstance ($args)
 
 getInitializedRowInstance ($args)
 
 getJSClass ()
 
 getOptions ()
 
 GridFeature ($id)
 
 gridInitialize ($args)
 
 saveSequence ($args)
 
 setId ($id)
 
 setOptions (&$request, &$grid)
 

Detailed Description

Base class for grid widgets ordering functionality.

Definition at line 19 of file OrderItemsFeature.inc.php.

Member Function Documentation

OrderItemsFeature::addRowOrderAction ( $row)

Add grid row order action.

Parameters
$rowGridRow
$actionPositionint
$rowTemplatestring

Definition at line 128 of file OrderItemsFeature.inc.php.

References getOverrideRowTemplate().

Referenced by OrderCategoryGridItemsFeature\getInitializedCategoryRowInstance(), and getInitializedRowInstance().

OrderItemsFeature::fetchUIElements ( $grid)
OrderItemsFeature::getInitializedRowInstance (   $args)
OrderItemsFeature::getOverrideRowTemplate ( $gridRow)

Get override row template flag.

Parameters
$gridRowGridRow
Returns
boolean

Definition at line 50 of file OrderItemsFeature.inc.php.

Referenced by addRowOrderAction().

OrderItemsFeature::gridInitialize (   $args)
OrderItemsFeature::isOrderActionNecessary ( )

Return if this feature will use a grid level order action. Default is true, override it if needed.

Returns
boolean

Definition at line 153 of file OrderItemsFeature.inc.php.

Referenced by fetchUIElements(), and gridInitialize().

OrderItemsFeature::OrderItemsFeature (   $overrideRowTemplate)

Constructor.

Definition at line 27 of file OrderItemsFeature.inc.php.

References setOverrideRowTemplate().

OrderItemsFeature::setOptions ( $request,
$grid 
)
See Also
GridFeature::setOptions()

Definition at line 67 of file OrderItemsFeature.inc.php.

References GridFeature\addOptions().

OrderItemsFeature::setOverrideRowTemplate (   $overrideRowTemplate)

Set override row template flag.

Parameters
$customRowTemplateboolean

Definition at line 41 of file OrderItemsFeature.inc.php.

Referenced by OrderItemsFeature().


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