Войти
Введите цифры и буквы
public function getUrl() { if ($this->getBlog()->getType()=='personal') { return Router::GetPath('blog').$this->getId().'.html'; } else { return Router::GetPath('blog').$this->getBlog()->getUrl().'/'.$this->getId().'.html'; } }
2 комментария