Public Member Functions | |
| comment ($id, $title, $content, $timestamp, $anon_name, $anon_email, $user_id, $firstname, $lastname, $email, $ip) | |
| constructs a comment | |
Public Attributes | |
| $id | |
| database id | |
| $title | |
| title of comment | |
| $content | |
| the comment | |
| $timestamp | |
| date of comment | |
| $name | |
| name of user | |
| email of user | |
| $ip | |
| ip of user | |
| comment::comment | ( | $ | id, | |
| $ | title, | |||
| $ | content, | |||
| $ | timestamp, | |||
| $ | anon_name, | |||
| $ | anon_email, | |||
| $ | user_id, | |||
| $ | firstname, | |||
| $ | lastname, | |||
| $ | email, | |||
| $ | ip | |||
| ) |
constructs a comment
the comment can be constructed either from a logged user or an anonymous user. Depending of user_id, the comment will get its information either from anon_name and anon_email, or from firstname, lastname and email
| id | database id | |
| title | title of comment | |
| content | the comment | |
| timestamp | date of the comment | |
| anon_name | name of anonymous user | |
| anon_email | email of anonymous user | |
| user_id | database id of user if the comment was done by a logged user | |
| firstname | first name of logged user | |
| lastname | last name of logged user | |
| email of logged user | ||
| ip | ip of user |
| comment::$content |
the comment
| comment::$email |
email of user
| comment::$id |
database id
| comment::$ip |
ip of user
| comment::$name |
name of user
| comment::$timestamp |
date of comment
| comment::$title |
title of comment
1.4.7