API docs     >     General     >     Comments

Comments->getAllComments

Description

getAllComments ( $filterArray, $filterLimit )
Gets all Comments

Parameters

$filterArray
array
Filter array
$filterLimit
string
Filter limit

Returns

array
Array of Comments
  1. Array(
  2.     [0] => Array(
  3.         [ID] => 2
  4.         [COMMENT] => test comment 2
  5.         [PARENT] => 0
  6.         [APPROVED] => 1
  7.         [SPAM] => 0
  8.         [USERID] => 1
  9.         [USERNAME] =>
  10.         [USEREMAIL] =>
  11.         [CREATEDTS] => 1331214490
  12.         [CHANGEDTS] => 1331214490
  13.         [NAME] => 2
  14.         [OBJECTTYPE] => PAGE
  15.         [OBJECTID] => 2
  16.         [SITEID] => 2
  17.         [RREAD] => 1
  18.         [RMODERATE] => 1
  19.         [RCOMMENT] => 1
  20.         [USERGROUPID] => 1
  21.     )
  22.     ...
  23. )