\Ceo\Core\ModelsAuditLog

Audit log entry

Summary

Methods
Properties
Constants
getResultsetClass()
hasProperty()
setRelated()
initialize()
getSource()
getMessageObject()
toArray()
$id
$user_id
$created_at
$message
$source_name
$source_id
No constants found
toArrayRelated()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : integer

ID

Type

integer

$user_id

$user_id : string

Parent user id

Type

string

$created_at

$created_at : string

Created time

Type

string

$message

$message : string

Log message, as JSON string

Type

string

$source_name

$source_name : string

Source object

Type

string

$source_id

$source_id : integer

Source ID

Type

integer

Methods

getResultsetClass()

getResultsetClass() 

hasProperty()

hasProperty(string  $str) : boolean

Determine if the model has a public property.

Useful in determining valid sorting options on the front end.

Parameters

string $str

Property

Returns

boolean

setRelated()

setRelated(string  $relation, mixed  $value = array()) : self

Phalcon has this bug where if you enumerate a relation then try to set it via the magic setter, it won't save.

I think it has something to do with implicit transactions, but I'm not entirely sure...

Parameters

string $relation
mixed $value

Returns

self

initialize()

initialize() 

getSource()

getSource() : string

Return table name

Returns

string

getMessageObject()

getMessageObject() 

toArray()

toArray(  $columns = NULL) 

Parameters

$columns

toArrayRelated()

toArrayRelated(  $ops,   $array) 

Parameters

$ops
$array