Documentation

Trace
in package

Class to facilitate Traces for an application author: hl@cloudframework.io

Table of Contents

Properties

$ds  : mixed
$error  : mixed
$errorMsg  : mixed
$core  : mixed

Methods

__construct()  : mixed
addError()  : mixed
createEntity()  : array<string|int, mixed>|bool

Properties

$error

public mixed $error = \false

$errorMsg

public mixed $errorMsg = []

Methods

__construct()

public __construct(Core7 &$core[, mixed $spacename = 'cloudframework' ]) : mixed
Parameters
$core : Core7
$spacename : mixed = 'cloudframework'

addError()

public addError(mixed $err) : mixed
Parameters
$err : mixed

createEntity()

public createEntity(array<string|int, mixed> $data) : array<string|int, mixed>|bool
Parameters
$data : array<string|int, mixed>

Array with fields to insert in logs. Require ['App'],['Cat']['Type']['Title']

Return values
array<string|int, mixed>|bool

        
On this page

Search results