class AuditLog extends BaseModel

Audit log entry

Properties

integer $id ID
string $user_id Parent user id
string $created_at Created time
string $message Log message, as JSON string
string $source_name Source object
integer $source_id Source ID

Methods

getResultsetClass()

No description

from BaseModel
boolean
hasProperty(string $str)

Determine if the model has a public property.

from BaseModel
setRelated(string $relation, mixed $value = array())

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

from BaseModel
initialize()

No description

string
getSource()

Return table name

getMessageObject()

No description

toArray($columns = NULL)

No description

Details

in BaseModel at line line 13
getResultsetClass()

in BaseModel at line line 25
boolean hasProperty(string $str)

Determine if the model has a public property.

Useful in determining valid sorting options on the front end.

Parameters

string $str Property

Return Value

boolean

in BaseModel at line line 40
BaseModel setRelated(string $relation, mixed $value = array())

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

Return Value

BaseModel

at line line 49
initialize()

at line line 67
string getSource()

Return table name

Return Value

string

at line line 72
getMessageObject()

at line line 77
toArray($columns = NULL)

Parameters

$columns