Template
class Template implements JsonSerializable (View source)
Traits
Properties
protected | $package | from PackageTrait | |
protected | $id | ||
protected | $icon | ||
protected | $name | ||
protected | $handle | ||
protected | $categories | ||
protected | $fields | ||
protected | $tags |
Methods
Template constructor.
No description
No description
No description
No description
No description
No description
No description
No description
Goes through all TemplateField objects for this template, checks to see if they're required and if they are returns the Field object.
No description
No description
No description
No description
Details
mixed
getPackage()
No description
setPackage(mixed $package)
No description
getPackageID()
No description
getPackageHandle()
No description
__construct()
Template constructor.
int|null
getId()
No description
string
getHandle()
No description
Template
setHandle(string $handle)
No description
string
getIcon()
No description
Template
setIcon(string $icon)
No description
string
getName()
No description
string
getDisplayName()
No description
Template
setName(string $name)
No description
mixed
getCategories()
No description
void
setCategories(mixed $categories)
No description
TemplateField[]
getFields()
No description
Field[]
getRequiredFields()
Goes through all TemplateField objects for this template, checks to see if they're required and if they are returns the Field object.
void
setFields(mixed $fields)
No description
ArrayCollection
getTags()
No description
Image|string|null
getTemplateIconImage(bool $asTag = true)
No description
void
export(SimpleXMLElement $node)
No description
jsonSerialize()
No description