class DefaultSet extends ColumnSet (View source)

Properties

protected $columns from  Set
protected $defaultSortColumn from  Set
protected $category from  ColumnSet

Methods

addColumn($col)

No description

from  Set
void
addColumnAfterKey(ColumnInterface $col, string $key)

Add a column after a specific key.

from  Set
void
addColumnBeforeKey(ColumnInterface $col, string $key)

Add a column before a specific key.

from  Set
removeColumnByKey($key)

No description

from  Set
__sleep()

No description

from  Set
__wakeup()

No description

getSortableColumns()

No description

from  Set
setDefaultSortColumn(Column $col, $direction = false)

No description

from  Set
getDefaultSortColumn()

No description

from  Set
getAttributeKeyColumn(string $akHandle)

No description

getColumnByKey($key)

No description

from  Set
jsonSerialize()

No description

from  Set
getColumns()

No description

from  Set
contains($col)

No description

from  Set
__construct(ExpressCategory $category)

DefaultSet constructor.

static string
getDateAdded(Entry $entry)

No description

static string
getDateModified(Entry $entry)

Return the Date this entry was last modified or date created if getDateModified returns null (for backwards compaitibility)

static int
getDisplayOrder(Entry $entry)

No description

Details

addColumn($col)

No description

Parameters

$col

void addColumnAfterKey(ColumnInterface $col, string $key)

Add a column after a specific key.

Parameters

ColumnInterface $col
string $key

Return Value

void

void addColumnBeforeKey(ColumnInterface $col, string $key)

Add a column before a specific key.

Parameters

ColumnInterface $col
string $key

Return Value

void

removeColumnByKey($key)

No description

Parameters

$key

__sleep()

No description

__wakeup()

No description

getSortableColumns()

No description

setDefaultSortColumn(Column $col, $direction = false)

No description

Parameters

Column $col
$direction

getDefaultSortColumn()

No description

AttributeKeyColumn|null getAttributeKeyColumn(string $akHandle)

No description

Parameters

string $akHandle

Return Value

AttributeKeyColumn|null

getColumnByKey($key)

No description

Parameters

$key

jsonSerialize()

No description

getColumns()

No description

contains($col)

No description

Parameters

$col

__construct(ExpressCategory $category)

DefaultSet constructor.

Parameters

ExpressCategory $category

static string getDateAdded(Entry $entry)

No description

Parameters

Entry $entry

Return Value

string

static string getDateModified(Entry $entry)

Return the Date this entry was last modified or date created if getDateModified returns null (for backwards compaitibility)

Parameters

Entry $entry

Return Value

string

static int getDisplayOrder(Entry $entry)

No description

Parameters

Entry $entry

Return Value

int