function setAsUserProfile() { $this->checkPermission('setAsUserProfile'); $this->user->profile = $this; $this->user->save(true); }