Trait
Collection of behaviors common to all notification modules that help fulfill \WHMCS\Notification\Notification\NotificationModuleInterface
public function isActive()Is this notification provider active?
Returns bool
public function getName()Returns bare class name of the specific notification module.
Returns string
public function getDisplayName()Get display name for the notification module.
Returns string
public function setDisplayName($displayName)Set the display name
Parameters
| Type | Name | Description |
|---|---|---|
string | $displayName |
Returns $this
public function getLogoFileName()Get the logo filename
Returns string
public function setLogoFileName($logoFileName)Set the logo filename
Parameters
| Type | Name | Description |
|---|---|---|
string | $logoFileName |
Returns $this
public function getLogoPath()Logo of provider.
Publicly accessible path relative to WHMCS System URL. Expressed as "absolute" path (leading forward slash)
EX. '/modules/notifications/{$this->getName()}/{$this->getLogoFileName()}'
Returns string