Column uses ColumnFields
Table of Contents
Methods
- __construct() : mixed
- getAlign() : string
- getCssClassName() : string|null
- getCssColorClassName() : string|null
- getCssColorValue() : string|null
- getEditable() : Config|null
- getFirstOrder() : string
- getHint() : Hint|null
- getIcon() : Icon|null
- getId() : string
- getLayout() : Layout
- getName() : string|null
- getNextSortOrder() : string
- getSection() : string|null
- getSelect() : array<string|int, mixed>
- getSort() : string|null
- getSortIndex() : int
- getSortOrder() : string
- getSortState() : string|null
- getSortUrl() : string|null
- getTitle() : string|null
- getType() : string
- getWidth() : int|null
- isDefault() : bool
- isEditable() : bool
- isMultiple() : bool
- isNecessary() : bool
- Column is always included in the selection, even if it is not currently displayed in the grid.
- isPreventDefault() : bool
- isResizeable() : bool
- isShift() : bool
- isShown() : bool
- isShowname() : bool
- isSticked() : bool
- isValidCssColorValue() : bool
- setAlign() : self
- setCssClassName() : self
- setCssColorClassName() : self
- Set color class name.
- setCssColorValue() : self
- Set color css value.
- setDefault() : self
- setEditable() : self
- setFirstOrder() : self
- setHint() : self
- setIcon() : self
- setId() : self
- setMultiple() : self
- setName() : self
- setNecessary() : self
- setPreventDefault() : self
- setResizeable() : self
- setSection() : self
- setSelect() : self
- setShift() : self
- setShown() : self
- setShowname() : self
- setSort() : self
- setSortIndex() : self
- setSortState() : self
- setSortUrl() : self
- setSticked() : self
- setTitle() : self
- setType() : $this
- Set column's type.
- setWidth() : self
- Sets column width.
Methods
__construct()
public
__construct(string $id[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $id : string
- $params : array<string|int, mixed> = []
-
params array. Recommended using
set*
methods.
getAlign()
public
getAlign() : string
Return values
stringgetCssClassName()
public
getCssClassName() : string|null
Return values
string|nullgetCssColorClassName()
public
getCssColorClassName() : string|null
Return values
string|nullgetCssColorValue()
public
getCssColorValue() : string|null
Return values
string|nullgetEditable()
public
getEditable() : Config|null
Return values
Config|nullgetFirstOrder()
public
getFirstOrder() : string
Return values
stringgetHint()
public
getHint() : Hint|null
Return values
Hint|nullgetIcon()
public
getIcon() : Icon|null
Return values
Icon|nullgetId()
public
getId() : string
Return values
stringgetLayout()
public
getLayout() : Layout
Return values
LayoutgetName()
public
getName() : string|null
Return values
string|nullgetNextSortOrder()
public
getNextSortOrder() : string
Return values
stringgetSection()
public
getSection() : string|null
Return values
string|nullgetSelect()
public
getSelect() : array<string|int, mixed>
Return values
array<string|int, mixed>getSort()
public
getSort() : string|null
Return values
string|nullgetSortIndex()
public
getSortIndex() : int
Return values
intgetSortOrder()
public
getSortOrder() : string
Return values
stringgetSortState()
public
getSortState() : string|null
Return values
string|nullgetSortUrl()
public
getSortUrl() : string|null
Return values
string|nullgetTitle()
public
getTitle() : string|null
Return values
string|nullgetType()
public
getType() : string
Return values
stringgetWidth()
public
getWidth() : int|null
Return values
int|nullisDefault()
public
isDefault() : bool
Return values
boolisEditable()
public
isEditable() : bool
Return values
boolisMultiple()
public
isMultiple() : bool
Return values
boolisNecessary()
Column is always included in the selection, even if it is not currently displayed in the grid.
public
isNecessary() : bool
Return values
boolisPreventDefault()
public
isPreventDefault() : bool
Return values
boolisResizeable()
public
isResizeable() : bool
Return values
boolisShift()
public
isShift() : bool
Return values
boolisShown()
public
isShown() : bool
Return values
boolisShowname()
public
isShowname() : bool
Return values
boolisSticked()
public
isSticked() : bool
Return values
boolisValidCssColorValue()
public
static isValidCssColorValue(string $value) : bool
Parameters
- $value : string
Return values
boolsetAlign()
public
setAlign(string|null $align) : self
Parameters
- $align : string|null
Return values
selfsetCssClassName()
public
setCssClassName(string|null $cssClassName) : self
Parameters
- $cssClassName : string|null
Return values
selfsetCssColorClassName()
Set color class name.
public
setCssColorClassName(string $color) : self
If need to set specific color value, see setCssColorValue
method
Parameters
- $color : string
-
class name of style
Tags
Return values
selfsetCssColorValue()
Set color css value.
public
setCssColorValue(string $value) : self
Parameters
- $value : string
-
in css format:
#222, rgb(1,2,3), hsl(2,3,4), ...
Return values
selfsetDefault()
public
setDefault(bool $default) : self
Parameters
- $default : bool
Return values
selfsetEditable()
public
setEditable(mixed $value) : self
Parameters
- $value : mixed
Return values
selfsetFirstOrder()
public
setFirstOrder(string $firstOrder) : self
Parameters
- $firstOrder : string
-
asc
ordesc
value
Return values
selfsetHint()
public
setHint(Hint|null $value) : self
Parameters
- $value : Hint|null
Return values
selfsetIcon()
public
setIcon(Icon|null $value) : self
Parameters
- $value : Icon|null
Return values
selfsetId()
public
setId(string $id) : self
Parameters
- $id : string
Return values
selfsetMultiple()
public
setMultiple(bool $multiple) : self
Parameters
- $multiple : bool
Return values
selfsetName()
public
setName(string|null $name) : self
Parameters
- $name : string|null
Return values
selfsetNecessary()
public
setNecessary(bool $necessary) : self
Parameters
- $necessary : bool
Return values
selfsetPreventDefault()
public
setPreventDefault(bool $preventDefault) : self
Parameters
- $preventDefault : bool
Return values
selfsetResizeable()
public
setResizeable(bool $resizeable) : self
Parameters
- $resizeable : bool
Return values
selfsetSection()
public
setSection(string|null $value) : self
Parameters
- $value : string|null
Return values
selfsetSelect()
public
setSelect(array<string|int, mixed> $select) : self
Parameters
- $select : array<string|int, mixed>
Return values
selfsetShift()
public
setShift(bool $shift) : self
Parameters
- $shift : bool
Return values
selfsetShown()
public
setShown(bool $value) : self
Parameters
- $value : bool
Return values
selfsetShowname()
public
setShowname(bool $showname) : self
Parameters
- $showname : bool
Return values
selfsetSort()
public
setSort(string|null $sort) : self
Parameters
- $sort : string|null
Return values
selfsetSortIndex()
public
setSortIndex(int $value) : self
Parameters
- $value : int
Return values
selfsetSortState()
public
setSortState(string $value) : self
Parameters
- $value : string
-
asc
ordesc
Return values
selfsetSortUrl()
public
setSortUrl(string $value) : self
Parameters
- $value : string
Return values
selfsetSticked()
public
setSticked(bool $sticked) : self
Parameters
- $sticked : bool
Return values
selfsetTitle()
public
setTitle(string|null $title) : self
Parameters
- $title : string|null
Return values
selfsetType()
Set column's type.
public
setType(string $type) : $this
Parameters
- $type : string
Tags
Return values
$thissetWidth()
Sets column width.
public
setWidth(int|null $width) : self
Parameters
- $width : int|null
-
pixels