AnalyticsEvent
FinalYes
Table of Contents
Constants
- STATUS_ATTEMPT = 'attempt'
- STATUS_CANCEL = 'cancel'
- STATUS_ERROR = 'error'
- STATUS_SUCCESS = 'success'
Methods
- __construct() : mixed
- exportToArray() : array<string|int, mixed>
- markAsAttempt() : self
- markAsCanceled() : self
- markAsError() : self
- markAsSuccess() : self
- send() : void
- setDbName() : self
- setElement() : self
- setHost() : self
- setP1() : self
- setP2() : self
- setP3() : self
- setP4() : self
- setP5() : self
- setSection() : self
- setStatus() : self
- setSubSection() : self
- setType() : self
- setUserAgent() : self
- setUserId() : self
Constants
STATUS_ATTEMPT
public
mixed
STATUS_ATTEMPT
= 'attempt'
STATUS_CANCEL
public
mixed
STATUS_CANCEL
= 'cancel'
STATUS_ERROR
public
mixed
STATUS_ERROR
= 'error'
STATUS_SUCCESS
public
mixed
STATUS_SUCCESS
= 'success'
Methods
__construct()
public
__construct(string $event, string $tool, string $category) : mixed
Parameters
- $event : string
- $tool : string
- $category : string
exportToArray()
public
exportToArray() : array<string|int, mixed>
Return values
array<string|int, mixed>markAsAttempt()
public
markAsAttempt() : self
Return values
selfmarkAsCanceled()
public
markAsCanceled() : self
Return values
selfmarkAsError()
public
markAsError() : self
Return values
selfmarkAsSuccess()
public
markAsSuccess() : self
Return values
selfsend()
public
send() : void
Tags
setDbName()
public
setDbName(string $dbname) : self
Parameters
- $dbname : string
Return values
selfsetElement()
public
setElement(string $element) : self
Parameters
- $element : string
Return values
selfsetHost()
public
setHost(string $host) : self
Parameters
- $host : string
Return values
selfsetP1()
public
setP1(string $p1) : self
Parameters
- $p1 : string
Tags
Return values
selfsetP2()
public
setP2(string $p2) : self
Parameters
- $p2 : string
Tags
Return values
selfsetP3()
public
setP3(string $p3) : self
Parameters
- $p3 : string
Tags
Return values
selfsetP4()
public
setP4(string $p4) : self
Parameters
- $p4 : string
Tags
Return values
selfsetP5()
public
setP5(string $p5) : self
Parameters
- $p5 : string
Tags
Return values
selfsetSection()
public
setSection(string $section) : self
Parameters
- $section : string
Return values
selfsetStatus()
public
setStatus(string $status) : self
Parameters
- $status : string
Return values
selfsetSubSection()
public
setSubSection(string $subSection) : self
Parameters
- $subSection : string
Return values
selfsetType()
public
setType(string $type) : self
Parameters
- $type : string
Return values
selfsetUserAgent()
public
setUserAgent(string $userAgent) : self
Parameters
- $userAgent : string
Return values
selfsetUserId()
public
setUserId(int $userId) : self
Parameters
- $userId : int