WatchdogEmailRel
extends BaseEntity
in package
AbstractYes
Attributes
- #[MappedSuperclass]
- #[TableAlias]
- $alias: 'watchdogEmailRel'
Table of Contents
Properties
- $attempts : int
- $cancelled : bool
- $sent : bool
- $watchdogEmailId : int
- $watchdogId : int
Methods
- __construct() : mixed
- callInitMethods() : void
- Calls `init{TraitName}()` for every used trait that defines such a method.
- getAllTraits() : array<string, string>
- Returns all traits the class uses, including those used by parent classes and nested traits.
- getAttempts() : int
- getCancelled() : bool
- getSent() : bool
- getWatchdogEmailId() : int
- getWatchdogId() : int
- isCancelled() : bool
- isSent() : bool
- setAttempts() : $this
- setCancelled() : $this
- setSent() : $this
- setWatchdogEmailId() : $this
- setWatchdogId() : $this
- getTraitsRecursive() : array<string, string>
- Walks the trait list recursively and collects nested traits too.
Properties
$attempts
protected
int
$attempts
= 0
Attributes
- #[Column]
- $name: 'attempts'
- $type: 'smallint'
- $options: ['unsigned' => true]
$cancelled
protected
bool
$cancelled
= false
Attributes
- #[Column]
- $name: 'cancelled'
- $type: 'boolean'
$sent
protected
bool
$sent
= false
Attributes
- #[Column]
- $name: 'sent'
- $type: 'boolean'
$watchdogEmailId
protected
int
$watchdogEmailId
= 0
Attributes
- #[Column]
- $name: 'cms_mod_bazaar_watchdog_emails_watchdog_email_id'
- $type: 'integer'
- $options: ['unsigned' => true]
- #[Id]
$watchdogId
protected
int
$watchdogId
= 0
Attributes
- #[Column]
- $name: 'cms_mod_bazaar_watchdogs_watchdog_id'
- $type: 'integer'
- $options: ['unsigned' => true]
- #[Id]
Methods
__construct()
public
__construct([int $watchdogEmailId = 0 ][, int $watchdogId = 0 ][, bool $sent = false ][, int $attempts = 0 ][, bool $cancelled = false ]) : mixed
Parameters
- $watchdogEmailId : int = 0
- $watchdogId : int = 0
- $sent : bool = false
- $attempts : int = 0
- $cancelled : bool = false
callInitMethods()
Calls `init{TraitName}()` for every used trait that defines such a method.
public
callInitMethods() : void
getAllTraits()
Returns all traits the class uses, including those used by parent classes and nested traits.
public
getAllTraits() : array<string, string>
Return values
array<string, string>getAttempts()
public
getAttempts() : int
Return values
intgetCancelled()
public
getCancelled() : bool
Return values
boolgetSent()
public
getSent() : bool
Return values
boolgetWatchdogEmailId()
public
getWatchdogEmailId() : int
Return values
intgetWatchdogId()
public
getWatchdogId() : int
Return values
intisCancelled()
public
isCancelled() : bool
Return values
boolisSent()
public
isSent() : bool
Return values
boolsetAttempts()
public
setAttempts(int $attempts) : $this
Parameters
- $attempts : int
Return values
$thissetCancelled()
public
setCancelled(bool $cancelled) : $this
Parameters
- $cancelled : bool
Return values
$thissetSent()
public
setSent(bool $sent) : $this
Parameters
- $sent : bool
Return values
$thissetWatchdogEmailId()
public
setWatchdogEmailId(int $watchdogEmailId) : $this
Parameters
- $watchdogEmailId : int
Return values
$thissetWatchdogId()
public
setWatchdogId(int $watchdogId) : $this
Parameters
- $watchdogId : int
Return values
$thisgetTraitsRecursive()
Walks the trait list recursively and collects nested traits too.
private
static getTraitsRecursive(array<string, string> $traits) : array<string, string>
Parameters
- $traits : array<string, string>