/**
  * Creates a new structured comment response list.
  * 
  * @param	\wcf\system\comment\manager\ICommentManager	$commentManager
  * @param	\wcf\data\comment\Comment			$comment
  */
 public function __construct(ICommentManager $commentManager, Comment $comment)
 {
     parent::__construct();
     $this->comment = $comment;
     $this->commentManager = $commentManager;
     $this->getConditionBuilder()->add("comment_response.commentID = ?", array($this->comment->commentID));
     $this->sqlLimit = $this->commentManager->getCommentsPerPage();
 }
 /**
  * Creates a new structured comment list.
  * 
  * @param	\wcf\system\comment\manager\ICommentManager	$commentManager
  * @param	integer						$objectTypeID
  * @param	integer						$objectID
  */
 public function __construct(ICommentManager $commentManager, $objectTypeID, $objectID)
 {
     parent::__construct();
     $this->commentManager = $commentManager;
     $this->objectTypeID = $objectTypeID;
     $this->objectID = $objectID;
     $this->getConditionBuilder()->add("comment.objectTypeID = ?", array($objectTypeID));
     $this->getConditionBuilder()->add("comment.objectID = ?", array($objectID));
     $this->sqlLimit = $this->commentManager->getCommentsPerPage();
 }