class Column implements ColumnInterface (View source)

Properties

deprecated $columnKey
deprecated $columnName
deprecated $sortDirection
deprecated $isSortable
deprecated $callback

Methods

getColumnValue($obj)

No description

getColumnKey()

No description

getColumnName()

No description

getColumnDefaultSortDirection() deprecated

No description

isColumnSortable()

No description

getColumnCallback()

No description

setColumnDefaultSortDirection($dir) deprecated

No description

getSortClassName(Result $result)

No description

getColumnSortDirection()

No description

setColumnSortDirection($sortDirection)

No description

string
sanitizeSortDirection($direction)

Normalize a sort direction to "asc" or "desc".

getSortURL(Result $result)

No description

__construct($key = null, $name = null, $callback = null, $isSortable = true, $sort = 'asc')

No description

Details

getColumnValue($obj)

No description

Parameters

$obj

getColumnKey()

No description

getColumnName()

No description

getColumnDefaultSortDirection() deprecated

deprecated

No description

isColumnSortable()

No description

getColumnCallback()

No description

setColumnDefaultSortDirection($dir) deprecated

deprecated

No description

Parameters

$dir

getSortClassName(Result $result)

No description

Parameters

Result $result

getColumnSortDirection()

No description

setColumnSortDirection($sortDirection)

No description

Parameters

$sortDirection

private string sanitizeSortDirection($direction)

Normalize a sort direction to "asc" or "desc".

Parameters

$direction

Return Value

string

getSortURL(Result $result)

No description

Parameters

Result $result

__construct($key = null, $name = null, $callback = null, $isSortable = true, $sort = 'asc')

No description

Parameters

$key
$name
$callback
$isSortable
$sort