function url_for_commentable_object($commentableObject, $absolute = false)
{
  $callable = sfNestedCommentConfig::getUrlCommentableCallable();
  if ($callable)
  {
    return url_for(call_user_func($callable, $commentableObject), $absolute);
  }
  return false;
}
 public function getLink()
 {
   $callable = sfNestedCommentConfig::getUrlCommentableCallable();
   if ($callable)
   {
     $commentableUrl = call_user_func($callable, $this->getCommentableObject());
     return $commentableUrl .= '#comment-'.$this->getId();
   }
   return '';
 }