Comments
Use this API to create, update and delete website comments.
Methods
Invoke via \Components\Website\Comments::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$iCommentId
int unsigned
A record's comment_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iCommentId
int unsigned
A record's comment_id
Return a set of records from the database
Gets a single field from a record
Parameters
$iCommentId
int unsigned
A record's comment_id
Returns the number of records in the database (matching the filter if specified)
Returns a score out of 5 for the ratings left on the page specified
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iCommentId
int unsigned
A record's comment_id
Return
Array of
Comments that match the search query.