\Ceo\Core\ModelsAclRole

ACL Role

This class has no use beyond providing a friendly name to associate to a list of rules

Summary

Methods
Properties
Constants
getResultsetClass()
hasProperty()
setRelated()
getSource()
No public properties found
No constants found
toArrayRelated()
No protected properties found
N/A
No private methods found
No private properties found
N/A

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

getSource()

getSource() : string

Return table name

Returns

string

toArrayRelated()

toArrayRelated(  $ops,   $array) 

Parameters

$ops
$array