Discussions class for handling all discussion/comment-related functions
Retrieve discussion/comments for the article
function accepts two styles of parameters due to backward compatiblity
NEW FORMAT:
"commentnumber"=>int number of comments to be displayed
"offset"=>int offset to show articles from
"fromdate"=>string articles to be shown from date (date format in settings.php)
"todate"=>string articles to be shown up to date (date format as in settings.php)
"articleID"=>int ID of article for which discussion should to be displayed
"order"=>string use MySQL format ("priority DESC, adate DESC, atime DESC" etc.)
int $settings number of comments to be displayed - OLD FORMAT - DO NOT USE!
array $settings list of parameters, see below:
Print comment text
Print date of comment entry
Return email of an author of comment
boolean $antispam TRUE by default - converts email address to prevent spam
Print name of an author of comment
Print time of comment entry
Retrieve URL of an author/website
Find whether article discussion is disabled (discussion is enabled or disabled)
int $articleID ID of article
Test comment for spam
string $author author of comment
string $email email of comment
string $url url of comment
string $body text of comment
string $permalink clean URL to article
string $IPaddress IP address of comment submitter
Test comment for spam
string $author author of comment
string $email email of comment
string $url url of comment
string $body text of comment
string $permalink clean URL to article