CommentList CommentList(
Blog
$Blog, [string
$comment_types = "'comment'"], [array
$show_statuses = array( 'published' )], [integer
$p = ''], [string
$author = ''], [string
$order = 'DESC'], [integer
$orderby = ''], [
$limit = '']
)
|
|
Constructor
Parameters:
|
Blog |
$Blog: |
can pass NULL if $p is passed |
|
string |
$comment_types: |
|
|
array |
$show_statuses: |
|
|
integer |
$p: |
Restrict to specific post |
|
string |
$author: |
Order ("ASC"/"DESC") |
|
string |
$order: |
List of fields to order by (separated by " ") |
|
integer |
$orderby: |
Limit |
|
|
$limit: |
|
void display_if_empty(
[
$params = array()]
)
|
|
T-Tag: Display a message if CommentList is empty
'msg_empty' =>
T_('No comment yet...'),
), $params );
Parameters:
API Tags:
Redefinition of:
- Results::display_if_empty()
- T-Tag: Display a message if Results list is empty