/** * Constructor. */ function __construct() { parent::__construct(false); }
/** * Constructor. * @param $typeOption int Defines which grid elements will * be orderable (categories and/or rows). * @param $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. */ function __construct($typeOption = ORDER_CATEGORY_GRID_CATEGORIES_AND_ROWS, $overrideRowTemplate = true) { parent::__construct($overrideRowTemplate); $this->addOptions(array('type' => $typeOption)); }
/** * Constructor. * @copydoc OrderItemsFeature::OrderItemsFeature() */ function __construct($overrideRowTemplate = true, $nonOrderableItemsMessage = null) { parent::__construct($overrideRowTemplate, $nonOrderableItemsMessage); }