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