HI all
Is it possible by in any way to set/create a model relation within a model. The case would be something like
<?php
use Phalcon\Mvc\Model;
class Robot extends Model
{
    public function beforeCreate()
    {
        $this->RobotParts = new RobotParts();
    }
This should then create a default RobotParts model and create this. Any other suggestions to solve this are welcome. It is basically to create a default default relation from a model.
Thanks