protected function getFormalSalutation()
    {
        $contact = $this->application->getContact();
        $name    = $contact->getLastName();
        $gender  = $contact->getGender();
        $translator = $this->getTranslator();
        
        $salutation = 'male' == $gender
                    ? $translator->translate('Dear Mr. %s')
                    : $translator->translate('Dear Ms. %s');
        
        return sprintf($salutation, $name);
    }
protected function getFormalSalutation()
    {
        $contact = $this->application->getContact();
        $name    = $contact->getLastName();
        $gender  = $contact->getGender();
        $translator = $this->getTranslator();
        
        $salutation = 'male' == $gender
                    ? $translator->translate('Dear Mr. %s')
                    : $translator->translate('Dear Ms. %s');
        
        return sprintf($salutation, $name);
    }
protected function getFormalSalutation ( ) { $ contact = $ this -> application -> getContact ( ) ; $ name = $ contact -> getLastName ( ) ; $ gender = $ contact -> getGender ( ) ; $ translator = $ this -> getTranslator ( ) ; $ salutation = 'male' == $ gender ? $ translator -> translate ( 'Dear Mr. %s' ) : $ translator -> translate ( 'Dear Ms. %s' ) ; return sprintf ( $ salutation , $ name ) ; }
Gets the formal salutation of the applicant

@return string
Gets the formal salutation of the applicant