public function getName()
    {
        $firstname = $this->FirstName ? $this->FirstName : $this->Member()->FirstName;
        $surname = $this->FirstName ? $this->Surname : $this->Member()->Surname;
        return implode(' ', array_filter(array($firstname, $surname)));
    }
public function getName()
    {
        $firstname = $this->FirstName ? $this->FirstName : $this->Member()->FirstName;
        $surname = $this->FirstName ? $this->Surname : $this->Member()->Surname;
        return implode(' ', array_filter(array($firstname, $surname)));
    }
public function getName ( ) { $ firstname = $ this -> FirstName ? $ this -> FirstName : $ this -> Member ( ) -> FirstName ; $ surname = $ this -> FirstName ? $ this -> Surname : $ this -> Member ( ) -> Surname ; return implode ( ' ' , array_filter ( array ( $ firstname , $ surname ) ) ) ; }
Gets the name of the customer.
Gets the name of the customer .