class Item extends ConcreteObject (View source)

Base class for gathering items.

Properties

$error from ConcreteObject
protected $feHandles
protected $templates

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

loadDetails()

No description

canViewGatheringItem()

No description

assignFeatureAssignments($mixed)

No description

static 
getListByItem(mixed $mixed)

No description

getGatheringItemID()

No description

getGatheringDataSourceHandle()

No description

getGatheringDataSourceID()

No description

getGatheringItemTemplateID(GatheringItemTemplateType $type)

No description

getGatheringItemTemplateObject(GatheringItemTemplateType $type)

No description

getGatheringItemSlotWidth()

No description

getGatheringItemSlotHeight()

No description

getGatheringItemKey()

No description

getGatheringObject()

No description

getGatheringID()

No description

loadGatheringItemTemplates()

No description

moveToNewGathering(Gathering $gathering)

No description

setGatheringItemTemplate(GatheringItemTemplateType $type, GatheringItemTemplate $template)

No description

setGatheringItemBatchDisplayOrder($gaiBatchDisplayOrder)

No description

setGatheringItemBatchTimestamp($gaiBatchTimestamp)

No description

setGatheringItemSlotWidth($gaiSlotWidth)

No description

setGatheringItemSlotHeight($gaiSlotHeight)

No description

static 
getByID($gaiID)

No description

static 
getListByKey(DataSource $ags, $gaiKey)

No description

static 
__callStatic($name, $arguments)

No description

static 
create(Gathering $ag, DataSource $ags, $gaiPublicDateTime, $gaiTitle, $gaiKey, $gaiSlotWidth = 1, $gaiSlotHeight = 1)

No description

duplicate(Gathering $gathering)

No description

deleteFeatureAssignments()

No description

addFeatureAssignment($feHandle, $mixed)

No description

copyFeatureAssignment(FeatureAssignment $fa)

No description

sortByFeatureScore($a, $b)

No description

weightByFeatureScore($a, $b)

No description

itemSupportsGatheringItemTemplate(GatheringItemTemplate $template)

No description

delete()

No description

deactivate()

No description

render(GatheringItemTemplateType $type)

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

abstract loadDetails()

abstract canViewGatheringItem()

abstract assignFeatureAssignments($mixed)

Parameters

$mixed

static getListByItem(mixed $mixed)

Parameters

mixed $mixed

getGatheringItemID()

getGatheringDataSourceHandle()

getGatheringDataSourceID()

getGatheringItemPublicDateTime()

getGatheringItemTemplateID(GatheringItemTemplateType $type)

Parameters

GatheringItemTemplateType $type

getGatheringItemTemplateObject(GatheringItemTemplateType $type)

Parameters

GatheringItemTemplateType $type

getGatheringItemTemplateHandle()

getGatheringItemSlotWidth()

getGatheringItemSlotHeight()

getGatheringItemBatchTimestamp()

getGatheringItemBatchDisplayOrder()

getGatheringItemKey()

getGatheringObject()

getGatheringID()

getGatheringItemFeatureHandles()

protected loadGatheringItemTemplates()

moveToNewGathering(Gathering $gathering)

Parameters

Gathering $gathering

setGatheringItemTemplate(GatheringItemTemplateType $type, GatheringItemTemplate $template)

Parameters

GatheringItemTemplateType $type
GatheringItemTemplate $template

setGatheringItemBatchDisplayOrder($gaiBatchDisplayOrder)

Parameters

$gaiBatchDisplayOrder

setGatheringItemBatchTimestamp($gaiBatchTimestamp)

Parameters

$gaiBatchTimestamp

setGatheringItemSlotWidth($gaiSlotWidth)

Parameters

$gaiSlotWidth

setGatheringItemSlotHeight($gaiSlotHeight)

Parameters

$gaiSlotHeight

static getByID($gaiID)

Parameters

$gaiID

static protected getListByKey(DataSource $ags, $gaiKey)

Parameters

DataSource $ags
$gaiKey

static __callStatic($name, $arguments)

Parameters

$name
$arguments

static create(Gathering $ag, DataSource $ags, $gaiPublicDateTime, $gaiTitle, $gaiKey, $gaiSlotWidth = 1, $gaiSlotHeight = 1)

Parameters

Gathering $ag
DataSource $ags
$gaiPublicDateTime
$gaiTitle
$gaiKey
$gaiSlotWidth
$gaiSlotHeight

duplicate(Gathering $gathering)

Parameters

Gathering $gathering

deleteFeatureAssignments()

addFeatureAssignment($feHandle, $mixed)

Parameters

$feHandle
$mixed

copyFeatureAssignment(FeatureAssignment $fa)

Parameters

FeatureAssignment $fa

protected sortByFeatureScore($a, $b)

Parameters

$a
$b

protected weightByFeatureScore($a, $b)

Parameters

$a
$b

setAutomaticGatheringItemSlotWidth()

setAutomaticGatheringItemSlotHeight()

setAutomaticGatheringItemTemplate()

itemSupportsGatheringItemTemplate(GatheringItemTemplate $template)

Parameters

GatheringItemTemplate $template

delete()

deactivate()

render(GatheringItemTemplateType $type)

Parameters

GatheringItemTemplateType $type