Exemplo n.º 1
0
 protected function getPermalink(SiteComment $comment)
 {
     return $this->app->getFrontendBaseHref() . Blorg::getPostRelativeUri($this->app, $comment->post);
 }
Exemplo n.º 2
0
 public static function getCommentRelativeUri(SiteApplication $app, SiteComment $comment)
 {
     return Blorg::getPostRelativeUri($app, $comment->post) . '#comment' . $comment->id;
 }
Exemplo n.º 3
0
 protected function getRelativeUri(BlorgPost $post)
 {
     return Blorg::getPostRelativeUri($this->app, $post);
 }