Cleopas\Widgets\Grid\Grid
Synopsis
class Grid
extends Widget
{
- // constants
- const ORDER_LINEAR = 1;
- const ORDER_CATEGORIZED = 2;
- const GAPS_HANDLING_REMOVE = 1;
- const GAPS_HANDLING_FILL_EMPTY = 2;
- // members
- protected static string $linear_category = 'linear';
- protected boolean $is_data_cached = false;
- protected $layout_config = NULL;
- protected array $items = ;
- protected $order = self::ORDER_LINEAR;
- protected $gaps_handling = self::GAPS_HANDLING_REMOVE;
- protected $create_cell_callback = NULL;
- protected string $grid_cell_class = 'CategoryGridCell';
- protected boolean $empty_cells_outline_enabled = false;
- protected integer $cell_index = 0;
- // Inherited members from Widget
- protected $name;
- protected $parent;
- protected array $widgets;
- protected $setup_callback;
- protected boolean $is_data_cached;
- protected static $short_class_name;
- protected static array $json_template_file;
- protected SS_HTTPRequest $request;
- // methods
- public void getBlocks()
- protected void setupGridWithCurrentOrder()
- public $this setItems()
- public $this setOrder()
- protected void getOrder()
- public $this setGapsHandling()
- protected void getGapsHandling()
- public $this setLayoutConfig()
- protected void getLayoutConfig()
- public void setGridCellClass()
- public void setCreateCellCallback()
- protected void createCell()
- protected CategoryGrid getGrid()
- // Inherited methods from Widget
- public static void create()
- public IWidget request()
- protected void param()
- public void getUrl()
- public void addWidget()
- public void setupWidget()
- public void linkToParent()
- public IWidget getWidget()
- protected void initWidget()
- public void hasWidget()
- public void isDataCached()
- public void getCacheKey()
- public void getJsonTemplateFile()
- protected void getClassDir()
- protected static void getShortClassName()
- protected mixed getValue()
Hierarchy
Extends
Constants
Name | Value |
---|---|
ORDER_LINEAR | 1 |
ORDER_CATEGORIZED | 2 |
GAPS_HANDLING_REMOVE | 1 |
GAPS_HANDLING_FILL_EMPTY | 2 |
Members
protected
- $cell_index
- $create_cell_callback
- $empty_cells_outline_enabled
- $gaps_handling
- $grid_cell_class
- $is_data_cached
- $is_data_cached
- $items
- $json_template_file
- $layout_config
- $linear_category
- $name
- $order
- $parent
- $request — \SS_HTTPRequest
- $setup_callback
- $short_class_name
- $widgets
Methods
protected
public
- getBlocks()
- setCreateCellCallback()
- setGapsHandling()
- setGridCellClass()
- setItems()
- setLayoutConfig()
- setOrder()