Class SimpleID\Util\UI\Template

extends Template
implements AttachmentManagerInterface
uses AttachmentManagerTrait

An extension to the Fat-Free Framework Template class.

This class implements a numbner of extensions:

  • Attachments. This class uses the AttachmentManagerTrait to provide methods to allow templates to retrieve attachments.
  • Return values. The return custom tag, along with the {@getReturnValue()} function, allows templates to assign and return values back to the calling PHP code.
  • Custom tags. This class provides custom tags such as capture, mail_callout and mail_button.
  • Custom filters.. This class provides a number of additional custom filters, including attr, js, markdown and html_to_text.
Methods
Methods used from SimpleID\Util\UI\AttachmentManagerTrait
addAttachment(), getAttachments(), getAttachmentTypes(), getAttachmentsByType(), mergeAttachments(), resetAttachments()
Constants inherited from SimpleID\Util\UI\AttachmentManagerInterface
CSS_ATTACHMENT, JS_ATTACHMENT
Properties
Properties used from SimpleID\Util\UI\AttachmentManagerTrait
$attachments