public function __construct($id = null) { if (null === $id) { $this->id = Session::getValue('user_uuid'); } else { $this->id = $id; } $this->getProfile(); self::$instance = $this; return $this; }
public function __construct($id = null) { if (null === $id) { $this->id = Session::getValue('user_uuid'); } else { $this->id = $id; } $this->workflows = new Workflows(array('owner' => $this, 'owner_type' => 'user')); $this->getProfile(); self::$instance = $this; return $this; }