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

Traits

Properties

protected $entryFormatter
protected $exEntryID
protected $author
protected $exEntryDisplayOrder
protected $exEntryDateCreated
protected $entity
protected $exEntryDateModified
protected $publicIdentifier
protected $attributes
protected $associations

Methods

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

No description

getAttribute($ak, $mode = false)

No description

Value
getAttributeValue($ak)

No description

clearAttribute($ak, bool $doReindexImmediately = true)

No description

Value
setAttribute($ak, mixed $value, bool $doReindexImmediately = true)

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.

bool
is($entityHandle)

Checks if this Entry's entity handle is the same as the one specified.

getEntity()

No description

setEntity(mixed $entity)

No description

mixed
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

getAssociations()

No description

setAssociations(mixed $associations)

No description

getAssociation($handle)

No description

getEntryAssociation(Association $association)

Get the EntryAssociation for a given association.

mixed
getOwnedByEntry()

No description

__construct()

Entry constructor.

updateDateModified()

Updates the entity dateModified field Normally called by ExpressValue Entity.

mixed
getLabel()

Formats the label of this entry to the mask (e.g. %product-name%) or the standard format.

array|mixed
jsonSerialize()

No description

getDateModified()

No description

setDateModified(mixed $exEntryDateModified)

No description

getDateCreated()

No description

setDateCreated(mixed $exEntryDateCreated)

No description

mixed
associateEntries()

No description

getExporter()

No description

getAuthor()

No description

setAuthor(mixed $author)

No description

mixed
getPublicIdentifier()

No description

setPublicIdentifier(mixed $publicIdentifier)

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, bool $doReindexImmediately = true)

No description

Parameters

$ak
bool $doReindexImmediately

Value setAttribute($ak, mixed $value, bool $doReindexImmediately = true)

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

Parameters

$ak
mixed $value
bool $doReindexImmediately

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

bool is($entityHandle)

Checks if this Entry's entity handle is the same as the one specified.

Parameters

$entityHandle

Return Value

bool

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

mixed getID()

No description

Return Value

mixed

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

Association[] getAssociations()

No description

Return Value

Association[]

setAssociations(mixed $associations)

No description

Parameters

mixed $associations

Association|null getAssociation($handle)

No description

Parameters

$handle

Return Value

Association|null

Association|null getEntryAssociation(Association $association)

Get the EntryAssociation for a given association.

Parameters

Association $association

Return Value

Association|null

mixed getOwnedByEntry()

No description

Return Value

mixed

__construct()

Entry constructor.

updateDateModified()

Updates the entity dateModified field Normally called by ExpressValue Entity.

mixed getLabel()

Formats the label of this entry to the mask (e.g. %product-name%) or the standard format.

Return Value

mixed

array|mixed jsonSerialize()

No description

Return Value

array|mixed

DateTime getDateModified()

No description

Return Value

DateTime

setDateModified(mixed $exEntryDateModified)

No description

Parameters

mixed $exEntryDateModified

DateTime getDateCreated()

No description

Return Value

DateTime

setDateCreated(mixed $exEntryDateCreated)

No description

Parameters

mixed $exEntryDateCreated

mixed associateEntries()

No description

Return Value

mixed

ItemInterface getExporter()

No description

Return Value

ItemInterface

User getAuthor()

No description

Return Value

User

setAuthor(mixed $author)

No description

Parameters

mixed $author

mixed getPublicIdentifier()

No description

Return Value

mixed

setPublicIdentifier(mixed $publicIdentifier)

No description

Parameters

mixed $publicIdentifier