Function getLatestComments
Gets latest comments for images, albums, news and pages
Located at
zp-extensions/comment_form/functions.php
integer |
$number |
how many comments you want. |
string |
$type = "all" |
<p>"all" for all latest comments of all images, albums, news and pages an array of table items e.g. array('images','albums') for all images, albums, news and pages "image" for the lastest comments of one specific image "album" for the latest comments of one specific album "news" for the latest comments of one specific news article "page" for the latest comments of one specific Page</p> |
integer |
$id = NULL |
the record id of element to get the comments for if $type != "all" |