UserAssignment
class UserAssignment extends BaseModel
User assignment model
This model provides the lookup between users and assignments
Properties
int | $id | ID | |
int | $user_id | user_id | |
string | $assignment_id | assignment id |
Methods
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
getSource()
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.
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...