abstract 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

static Key[]
add(Gathering $ag, DataSource $ags, string $gaiPublicDateTime, string $gaiTitle, string $gaiKey, int $gaiSlotWidth = 1, int $gaiSlotHeight = 1)

Deprecated method. Use Item::create instead.

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

abstract loadDetails()

No description

abstract canViewGatheringItem()

No description

abstract assignFeatureAssignments($mixed)

No description

Parameters

$mixed

static getListByItem(mixed $mixed)

No description

Parameters

mixed $mixed

getGatheringItemID()

No description

getGatheringDataSourceHandle()

No description

getGatheringDataSourceID()

No description

getGatheringItemPublicDateTime()

No description

getGatheringItemTemplateID(GatheringItemTemplateType $type)

No description

Parameters

GatheringItemTemplateType $type

getGatheringItemTemplateObject(GatheringItemTemplateType $type)

No description

Parameters

GatheringItemTemplateType $type

getGatheringItemTemplateHandle()

No description

getGatheringItemSlotWidth()

No description

getGatheringItemSlotHeight()

No description

getGatheringItemBatchTimestamp()

No description

getGatheringItemBatchDisplayOrder()

No description

getGatheringItemKey()

No description

getGatheringObject()

No description

getGatheringID()

No description

getGatheringItemFeatureHandles()

No description

protected loadGatheringItemTemplates()

No description

moveToNewGathering(Gathering $gathering)

No description

Parameters

Gathering $gathering

setGatheringItemTemplate(GatheringItemTemplateType $type, GatheringItemTemplate $template)

No description

Parameters

GatheringItemTemplateType $type
GatheringItemTemplate $template

setGatheringItemBatchDisplayOrder($gaiBatchDisplayOrder)

No description

Parameters

$gaiBatchDisplayOrder

setGatheringItemBatchTimestamp($gaiBatchTimestamp)

No description

Parameters

$gaiBatchTimestamp

setGatheringItemSlotWidth($gaiSlotWidth)

No description

Parameters

$gaiSlotWidth

setGatheringItemSlotHeight($gaiSlotHeight)

No description

Parameters

$gaiSlotHeight

static getByID($gaiID)

No description

Parameters

$gaiID

static protected getListByKey(DataSource $ags, $gaiKey)

No description

Parameters

DataSource $ags
$gaiKey

static __callStatic($name, $arguments)

No description

Parameters

$name
$arguments

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

No description

Parameters

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

duplicate(Gathering $gathering)

No description

Parameters

Gathering $gathering

deleteFeatureAssignments()

No description

addFeatureAssignment($feHandle, $mixed)

No description

Parameters

$feHandle
$mixed

copyFeatureAssignment(FeatureAssignment $fa)

No description

Parameters

FeatureAssignment $fa

protected sortByFeatureScore($a, $b)

No description

Parameters

$a
$b

protected weightByFeatureScore($a, $b)

No description

Parameters

$a
$b

setAutomaticGatheringItemSlotWidth()

No description

setAutomaticGatheringItemSlotHeight()

No description

setAutomaticGatheringItemTemplate()

No description

itemSupportsGatheringItemTemplate(GatheringItemTemplate $template)

No description

Parameters

GatheringItemTemplate $template

delete()

No description

deactivate()

No description

render(GatheringItemTemplateType $type)

No description

Parameters

GatheringItemTemplateType $type

static Key[] add(Gathering $ag, DataSource $ags, string $gaiPublicDateTime, string $gaiTitle, string $gaiKey, int $gaiSlotWidth = 1, int $gaiSlotHeight = 1)

Deprecated method. Use Item::create instead.

Parameters

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

Return Value

Key[]