Within the model, how do I display the user name: Example of the name that is in the DB: José ALberto da Silva Nogueira. I would like you to show only José Nogueira.
public function getNome(){
if($this->group == User::GROUP_NOME_CLIENTE)
return $this->nome_cliente->ds_nome;