CodeTrace model implementation.

license New BSD License
link for the canonical source repository
author Ingo Walz
category Zend
package Zend_Service
subpackage ZendServerAPI

 Methods

Get the application id

getApplicationId() : int

Returns

int

Get an associative array based on the model information

getArray() : array
Inherited
inherited_from \ZendService\ZendServerAPI\DataTypes\DataType::getArray()

Returns

array

Get the method of creation (Code Request, Manual Request, Monitor Request)

getCreatedBy() : string

Returns

string

Get the creation timestamp

getDate() : \DateTime

Returns

Get the file size in bytes

getFileSize() : int

Returns

int

Get the codeTrace id

getId() : string

Returns

string

Get the URL string that created the trace

getUrl() : string

Returns

string

Set the application id

setApplicationId(int $applicationId) : void

Parameters

$applicationId

int

Set the method of creation (Code Request, Manual Request, Monitor Event)

setCreatedBy(string $createdBy) : void

Parameters

$createdBy

string

Creation timestamp, will end up as a \DateTime

setDate(\DateTime | int | string $date) : void

Parameters

$date

\DateTimeintstring

Exceptions

\RuntimeException

Set the file size in bytes

setFileSize(float $fileSize) : void

Parameters

$fileSize

float

Set the codeTrace id

setId(string $id) : void

Parameters

$id

string

URL string that created the trace

setUrl(string $url) : void

Parameters

$url

string

 Properties

 

$applicationId : integer
 

$createdBy : string
 

$date : \DateTime
 

$fileSize : integer
 

$id : string
 

$url : string