public function setTitle($text) { if ($this instanceof BaseObject) { parent::setTitle($text); } else { method_exists($this, 'rawSet') ? $this->rawSet('title', $text) : $this->_set('title', $text); } $this->setStrippedTitle(sfSimpleBlogTools::stripText($text)); }
public function setTitle($text) { parent::setTitle($text); $this->setStrippedTitle(sfSimpleBlogTools::stripText($text)); }