$id
$id : integer
ID
Print Assignments model
Print assignment model is just a placeholder for print assignment items
setPushableOptions(array $opts = array())
Set default pushable options for model, uses an array with the keys
Example:
class Content extends BaseModel
{
use Pushable;
...
$this->setPushableOptions([
'category' => 'contentupdate',
'related' => [
'export',
'authors',
'tags',
'assignment',
'attachment',
'audit',
'export',
'dominantAttachment'
]
]
}
array | $opts |
pushToSocket(array $kwargs = array())
Push the model to the web socket server via the queue service Options are set as keyword arguments in the form of <ul> <li>category - (string) supplemental category</li> <li>options - (array) override options, see setPushableOptions for more info</li> </ul>
array | $kwargs |
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...
string | $relation | |
mixed | $value |