• Модуль: documentgenerator
  • Путь к файлу: ~/bitrix/modules/documentgenerator/lib/external/petrovich.php
  • Класс: Petrovich
  • Вызов: Petrovich::title
public function title($title, $case = Petrovich::CASE_NOMENATIVE)
{
	if ($case === Petrovich::CASE_NOMENATIVE) {
		return $title;
	}

	if(($exception = $this->checkException($title,$case,'firstname')) !== false) {
		return $title;
	}
	else {
		return $this->findInRules($title,$case,'firstname');
	}
}