ModelAdmin module

Job

Job entity to keep data related to queue job

A model in the Admin module, with 16 members for templates, 13 API properties and 16 members for admin templates.

Admin\Models\Frontend\Job Admin\Models\Api\Job Admin\Models\Backend\Job Also in Admin: MenuElement Notification
View
What Smarty and Twig templates receive. Properties in REST API responses and job payloads. What admin screen templates receive when you override them.

Templates view

Properties 16

Take no arguments.

# getLinksInlineDisplay()
string
Displays links separated by comma
# getLinksRowsDisplay()
string
Displays every link in a new line
# getId()
?int
# getName()
?string
# getQueueId()
?string
# getData()
?array
# getStatus()
?string
# getResult()
?string
# getCreated()
?DateTime
Date the record was created.
# getModified()
?DateTime
Last modification date for the record.
# getSite()
?Site
# getCreatedBy()
?User
# isNewRecord() Not in API & Jobs
bool
Check if the record is a new record
# isHierarchicalModel() Not in API & Jobs
bool
Check whether a model is a hierarchical model, i.e. can have children
# isVersionedModel() Not in API & Jobs
bool
Check whether a model is versioned

API & Jobs view

API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.

Properties 13

Read-only values on the record.

# linksInlineDisplay
string
Displays links separated by comma
# linksRowsDisplay
string
Displays every link in a new line
# id
?int
# name
?string
# queueId
?string
# data
?array
# status
?string
# result
?string
# created
?DateTime
Date the record was created.
# modified
?DateTime
Last modification date for the record.
# site
?Site
# createdBy
?User

Admin view

AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.

Properties 16

Take no arguments.

# getLinksInlineDisplay()
string
Displays links separated by comma
# getLinksRowsDisplay()
string
Displays every link in a new line
# getId()
?int
# getName()
?string
# getQueueId()
?string
# getData()
?array
# getStatus()
?string
# getResult()
?string
# getCreated()
?DateTime
Date the record was created.
# getModified()
?DateTime
Last modification date for the record.
# getSite()
?Site
# getCreatedBy()
?User
# isNewRecord() Not in API & Jobs
bool
Check if the record is a new record
# isHierarchicalModel() Not in API & Jobs
bool
Check whether a model is a hierarchical model, i.e. can have children
# isVersionedModel() Not in API & Jobs
bool
Check whether a model is versioned