CoolCMS API

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_comcat_watchdog_emails_watchdog_email_id'
$type: 'integer'
$options: ['unsigned' => true]
#[Id]

$watchdogId

protected int $watchdogId = 0
Attributes
#[Column]
$name: 'cms_mod_comcat_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>

getWatchdogEmailId()

public getWatchdogEmailId() : int
Return values
int

setAttempts()

public setAttempts(int $attempts) : $this
Parameters
$attempts : int
Return values
$this

setCancelled()

public setCancelled(bool $cancelled) : $this
Parameters
$cancelled : bool
Return values
$this

setSent()

public setSent(bool $sent) : $this
Parameters
$sent : bool
Return values
$this

setWatchdogEmailId()

public setWatchdogEmailId(int $watchdogEmailId) : $this
Parameters
$watchdogEmailId : int
Return values
$this

setWatchdogId()

public setWatchdogId(int $watchdogId) : $this
Parameters
$watchdogId : int
Return values
$this

getTraitsRecursive()

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>
Return values
array<string, string>
On this page

Search results