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 $attributes
protected $associations

Methods

getAttributeValueObject(AttributeKeyInterface|string $ak, bool $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.

bool
is($entityHandle)

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

getPermissionObjectIdentifier()

Returns the ID of this Entry.

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

mixed
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

Details

CategoryInterface getObjectAttributeCategory()

Return Value

CategoryInterface

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

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)

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

bool is($entityHandle)

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

Parameters

$entityHandle

Return Value

bool

getPermissionObjectIdentifier()

Returns the ID of this Entry.

getPermissionResponseClassName()

getPermissionAssignmentClassName()

getPermissionObjectKeyCategoryHandle()

Entity getEntity()

Return Value

Entity

setEntity(mixed $entity)

Parameters

mixed $entity

mixed getID()

Return Value

mixed

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

Association|null getAssociation($handle)

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()

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()

Return Value

array|mixed

DateTime getDateModified()

Return Value

DateTime

setDateModified(mixed $exEntryDateModified)

Parameters

mixed $exEntryDateModified

DateTime getDateCreated()

Return Value

DateTime

setDateCreated(mixed $exEntryDateCreated)

Parameters

mixed $exEntryDateCreated

mixed associateEntries()

Return Value

mixed

ItemInterface getExporter()

Return Value

ItemInterface

User getAuthor()

Return Value

User

setAuthor(mixed $author)

Parameters

mixed $author