API docs     >     General     >     Comments

Comments->getLatestCommentByUser

Description

getLatestCommentByUser ( $userId )
Gets the latest Comment of a specific User

Parameters

$userId
int
User Id

Returns

array|int
Array containing information about the Comment or ERROR_COMMENTS_UNKNOWN in case of an error
  1. Array(
  2.     [ID] => 2
  3.     [COMMENT] => test comment 2
  4.     [PARENT] => 0
  5.     [APPROVED] => 1
  6.     [SPAM] => 0
  7.     [USERID] => 1
  8.     [USERNAME] =>
  9.     [USEREMAIL] =>
  10.     [CREATEDTS] => 1331214490
  11.     [CHANGEDTS] => 1331214490
  12. )