Exemplo n.º 1
0
 function setAsUserProfile()
 {
     $this->checkPermission('setAsUserProfile');
     $this->user->profile = $this;
     $this->user->save(true);
 }