getTitle() public method

Retrieves title for the current web response.
public getTitle ( ) : string
return string Title
Esempio n. 1
0
 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);
 }