Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
commentsAmount.php
1 <?php
2 /**
3  * Created by JetBrains PhpStorm.
4  * User: andrew
5  * Date: 6/26/12
6  * Time: 1:08 PM
7  * To change this template use File | Settings | File Templates.
8  */
9 ?>
10 
11 <?php $commentsAmount = $this->widget('comments.widgets.CommentsAmountWidget', array('contentId' => array('12300124', '12300123'))) ?>
12 
13 12300123: <?php $commentsAmount->forContent('12300123') ?>
14 
15 12300124: <?php $commentsAmount->forContent('12300124') ?>