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); }