common/models/entities/User.php
public function getFullName() {

		$name = $this->firstName;

		if( !empty( $this->middleName ) ) {

			$name = "$name $this->middleName";
		}

		if( !empty( $this->lastName ) ) {

			$name = "$name $this->lastName";
		}

		return $name;
	}
public function getFullName() {

		$name = $this->firstName;

		if( !empty( $this->middleName ) ) {

			$name = "$name $this->middleName";
		}

		if( !empty( $this->lastName ) ) {

			$name = "$name $this->lastName";
		}

		return $name;
	}
public function getFullName ( ) { $ name = $ this -> firstName ; if ( ! empty ( $ this -> middleName ) ) { $ name = "$name $this->middleName" ; } if ( ! empty ( $ this -> lastName ) ) { $ name = "$name $this->lastName" ; } return $ name ; }
Returns full name of user using first name, middle name and last name.

@return string
Returns full name of user using first name middle name and last name .