Attachments
extends AutoService
in package
uses
IsActiveTrait
AutoService is a base-class for defining a service (in Civi's service-container).
Tags
Table of Contents
Properties
- $active : bool
Methods
- isActive() : bool
- onCompose() : mixed
- Add any attachments.
- setActive() : $this
Properties
$active
private
bool
$active
= TRUE
Methods
isActive()
public
isActive() : bool
Return values
boolonCompose()
Add any attachments.
public
onCompose(ComposeBatchEvent $e) : mixed
Parameters
- $e : ComposeBatchEvent
setActive()
public
setActive(bool $active) : $this
Parameters
- $active : bool