public function getTitle() { $title = parent::getTitle(); if ($this->isResolved()) { $title = '[' . __('RESOLVED', 'cm-answers') . '] ' . $title; } return $title; }
public function getTitle($withResolved = true) { $title = ''; if ($this->isResolved() and $withResolved) { $title .= '[' . CMA_Labels::getLocalized('RESOLVED') . '] '; } $title .= parent::getTitle(); return $title; }