class Entry implements JsonSerializable, ObjectInterface, ObjectInterface (View source)

Traits

Properties

protected $entryFormatter
protected $exEntryID
protected $exEntryDisplayOrder
protected $exEntryDateCreated
protected $entity
protected $attributes
protected $associations
protected $containing_associations

Methods

getAttributeValueObject($ak, $createIfNotExists = false)

No description

getAttribute($ak, $mode = false)

No description

Value
getAttributeValue($ak)

No description

Value
setAttribute(AttributeKeyInterface $ak, mixed $value)

Sets the attribute of a user info object to the specified value, and saves it in the database.

$mixed
__call($nm, $a)

Returns either an attribute (if passed an attribute handle) or the content of an association, if it matches an association.

getEntity()

No description

setEntity(mixed $entity)

No description

getID()

No description

setID(mixed $exEntryID)

No description

mixed
getAttributes()

No description

setAttributes(mixed $attributes)

No description

mixed
getEntryDisplayOrder()

No description

setEntryDisplayOrder(mixed $exEntryDisplayOrder)

No description

mixed
getAssociations()

No description

setAssociations(mixed $associations)

No description

getAssociation($handle) deprecated

No description

getEntryAssociation(Association $association)

Get the EntryAssociation for a given association

getOwnedByEntry()

No description

__construct()

No description

getLabel()

No description

jsonSerialize()

No description

mixed
getDateCreated()

No description

setDateCreated(mixed $exEntryDateCreated)

No description

associateEntries()

No description

Details

CategoryInterface getObjectAttributeCategory()

Return Value

CategoryInterface

getAttributeValueObject($ak, $createIfNotExists = false)

Parameters

$ak
$createIfNotExists

getAttribute($ak, $mode = false)

Parameters

$ak
$mode

Value getAttributeValue($ak)

Parameters

$ak

Return Value

Value

clearAttribute(AttributeKeyInterface $ak)

Parameters

AttributeKeyInterface $ak | string $ak

Value setAttribute(AttributeKeyInterface $ak, mixed $value)

Sets the attribute of a user info object to the specified value, and saves it in the database.

Parameters

AttributeKeyInterface $ak | string $ak
mixed $value

Return Value

Value

$mixed __call($nm, $a)

Returns either an attribute (if passed an attribute handle) or the content of an association, if it matches an association.

Parameters

$nm
$a

Return Value

$mixed

getPermissionObjectIdentifier()

getPermissionResponseClassName()

getPermissionAssignmentClassName()

getPermissionObjectKeyCategoryHandle()

Entity getEntity()

Return Value

Entity

setEntity(mixed $entity)

Parameters

mixed $entity

getID()

setID(mixed $exEntryID)

Parameters

mixed $exEntryID

mixed getAttributes()

Return Value

mixed

setAttributes(mixed $attributes)

Parameters

mixed $attributes

mixed getEntryDisplayOrder()

Return Value

mixed

setEntryDisplayOrder(mixed $exEntryDisplayOrder)

Parameters

mixed $exEntryDisplayOrder

mixed getAssociations()

Return Value

mixed

setAssociations(mixed $associations)

Parameters

mixed $associations

getAssociation($handle) deprecated

deprecated See \Concrete\Core\Entity\Express\Entry::getEntryAssociation

Parameters

$handle

Association|null getEntryAssociation(Association $association)

Get the EntryAssociation for a given association

Parameters

Association $association

Return Value

Association|null

getOwnedByEntry()

__construct()

getLabel()

jsonSerialize()

mixed getDateCreated()

Return Value

mixed

setDateCreated(mixed $exEntryDateCreated)

Parameters

mixed $exEntryDateCreated

associateEntries()