getTitle() public méthode

Retrieves title for the current web response.
public getTitle ( ) : string
Résultat string Title
 public function getTitle()
 {
     $result = parent::getTitle();
     if (!$result) {
         $result = opConfig::get('sns_title') ? opConfig::get('sns_title') : opConfig::get('sns_name');
     }
     return $result;
 }
 public function getTitle()
 {
     $parts = array();
     if (parent::getTitle()) {
         $parts[] = parent::getTitle();
     }
     $parts[] = sfConfig::get('app_version_name');
     return implode(' - ', $parts);
 }