$helpers
$helpers : array
Other helpers used by FormHelper
ContentComment Helper
Add your application-wide methods in the class below, your helpers will inherit them.
count(array $content, array $attributes = array()) : string
コメント数表示
コメント数の表示HTMLを返します。
設定データ配列、コンテンツデータ配列を指定してください。
設定データ配列の['viewVarsKey']['useComment']を判断し、コンテンツデータ配列のContentCommentCnt.cntを表示します。
<?php echo $this->ContentComment->count($video); ?>
array | $content | Array of content data with ContentComment count. |
array | $attributes | Array of attributes and HTML arguments. |
HTML tags