comment Class Reference

a comment More...

List of all members.

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
 email of user
 $ip
 ip of user


Detailed Description

a comment


Member Function Documentation

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

Parameters:
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 email of logged user
ip ip of user


Member Data Documentation

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


The documentation for this class was generated from the following file:
Generated on Mon Feb 19 19:11:58 2007 for Wiclear by  doxygen 1.4.7