Пример #1
0
 public function rubricTitle($rubric = null, $inflect = 0)
 {
     $rubric = $rubric ? $this->extractRubric($rubric) : null;
     return InflectsManager::inst()->getInflection($this->rubricTitleImpl(), $inflect) . ($rubric ? ': ' . $rubric->getName() : '');
 }
Пример #2
0
 public function postTitle($post = null, $inflect = 0)
 {
     $post = $post ? $this->extractPost($post, true) : null;
     return InflectsManager::inst()->getInflection($this->postTitleImpl(), $inflect) . ($post ? ': ' . $post->getName() : '');
 }