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

Traits

Properties

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

Methods

getAttributeValueObject(AttributeKeyInterface|string $ak, bool $createIfNotExists = false)

No description

getAttribute($ak, $mode = false)

No description

Value
getAttributeValue($ak)

No description

clearAttribute($ak)

No description

Value
setAttribute($ak, mixed $value)

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

__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

getDateCreated()

No description

setDateCreated(mixed $exEntryDateCreated)

No description

associateEntries()

No description

getExporter()

No description

Details

CategoryInterface getObjectAttributeCategory()

No description

Return Value

CategoryInterface

AttributeValueInterface|null getAttributeValueObject(AttributeKeyInterface|string $ak, bool $createIfNotExists = false)

No description

Parameters

AttributeKeyInterface|string $ak

An attribute key instance (or its handle)

bool $createIfNotExists

Shall the generic attribute value be created if it does not already exist?

Return Value

AttributeValueInterface|null

getAttribute($ak, $mode = false)

No description

Parameters

$ak
$mode

Value getAttributeValue($ak)

No description

Parameters

$ak

Return Value

Value

clearAttribute($ak)

No description

Parameters

$ak

Value setAttribute($ak, mixed $value)

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

Parameters

$ak
mixed $value

Return Value

Value

__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

getPermissionObjectIdentifier()

No description

getPermissionResponseClassName()

No description

getPermissionAssignmentClassName()

No description

getPermissionObjectKeyCategoryHandle()

No description

Entity getEntity()

No description

Return Value

Entity

setEntity(mixed $entity)

No description

Parameters

mixed $entity

getID()

No description

setID(mixed $exEntryID)

No description

Parameters

mixed $exEntryID

mixed getAttributes()

No description

Return Value

mixed

setAttributes(mixed $attributes)

No description

Parameters

mixed $attributes

mixed getEntryDisplayOrder()

No description

Return Value

mixed

setEntryDisplayOrder(mixed $exEntryDisplayOrder)

No description

Parameters

mixed $exEntryDisplayOrder

mixed getAssociations()

No description

Return Value

mixed

setAssociations(mixed $associations)

No description

Parameters

mixed $associations

getAssociation($handle) deprecated

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

No description

Parameters

$handle

Association|null getEntryAssociation(Association $association)

Get the EntryAssociation for a given association

Parameters

Association $association

Return Value

Association|null

getOwnedByEntry()

No description

__construct()

No description

getLabel()

No description

jsonSerialize()

No description

DateTime getDateCreated()

No description

Return Value

DateTime

setDateCreated(mixed $exEntryDateCreated)

No description

Parameters

mixed $exEntryDateCreated

associateEntries()

No description

ItemInterface getExporter()

No description

Return Value

ItemInterface