Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
CommentsWidget.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  */
11 ?>
12 <div class="comments-widget">
13  <?php $formWidget = $this->widget('comments.widgets.CommentsFormWidget',
14  array(
15  'contentId' => $this->contentId,
16  'allowAnonymous' => $this->allowAnonymous,
17  'requiredForAnonymous' => $this->requiredForAnonymous,
18  'moderatorEmail' => $this->moderatorEmail,
19  'dontNeedApprove' => $this->dontNeedApprove,
20  'notifyModeratorOnNew' => $this->notifyModeratorOnNew,
21  'isPreview' => $this->isPreview
22  )
23 )
24 
25  ?>
26  <?php $this->widget('comments.widgets.CommentsListWidget',
27  array(
28  'contentId' => $this->contentId,
29  'oneLevelReply' => $this->oneLevelReply,
30  'formWidget' => $formWidget,
31  'isPreview' => $this->isPreview,
32  'commentsPerPage' => $this->commentsPerPage,
33  'paginationPagesCount' => $this->paginationPagesCount
34  ))
35  ?>
36 </div>