Function comment_form_addComment
Generic comment adding routine. Called by album objects or image objects to add comments.
Returns a comment object
string |
$name |
Comment author name |
string |
$email |
Comment author email |
string |
$website |
Comment author website |
string |
$comment |
body of the comment |
string |
$code |
CAPTCHA code entered |
string |
$code_ok |
CAPTCHA hash expected |
string |
$receiver |
$type 'albums' if it is an album or 'images' if it is an image comment |
object |
$ip |
$receiver the object (image or album) to which to post the comment |
string |
$private |
$ip the IP address of the comment poster |
boolean |
$anon |
$private set to true if the comment is for the admin only |
boolean |
$customdata |
$anon set to true if the poster wishes to remain anonymous |
string |
$check = false |
$customdata |
bit |
$dataconfirmation = null |
$check bitmask of which fields must be checked. If set overrides the options |
boolean |
$dataconfirmation,… |
True if data privacy confirmation required |
object
|
object |