Comment Class Reference
[Comment]

Class for public Comment associated with paper. More...

List of all members.

Public Member Functions

 Comment ()
 getBody ()
 getChildCommentCount ()
& getChildren ()
 getCommentId ()
 getDateModified ()
 getDatePosted ()
 getPaperId ()
 getParentCommentId ()
 getPosterEmail ()
 getPosterIP ()
 getPosterName ()
 getTitle ()
 getUser ()
 setBody ($body)
 setChildCommentCount ($childCommentCount)
 setChildren (&$children)
 setCommentId ($commentId)
 setDateModified ($dateModified)
 setDatePosted ($datePosted)
 setPaperId ($paperId)
 setParentCommentId ($parentCommentId)
 setPosterEmail ($posterEmail)
 setPosterIP ($posterIP)
 setPosterName ($posterName)
 setTitle ($title)
 setUser ($user)


Detailed Description

Class for public Comment associated with paper.

See also:
CommentDAO

Definition at line 22 of file Comment.inc.php.


Member Function Documentation

Comment.Comment (  ) 

Constructor.

Definition at line 27 of file Comment.inc.php.

References setPosterIP().

Comment.getBody (  ) 

get comment body

Returns:
string

Definition at line 180 of file Comment.inc.php.

Comment.getChildCommentCount (  ) 

get number of child comments

Returns:
int

Definition at line 54 of file Comment.inc.php.

& Comment.getChildren (  ) 

get child comments (if fetched using recursive option)

Returns:
array

Definition at line 228 of file Comment.inc.php.

Comment.getCommentId (  ) 

get paper comment id

Returns:
int

Definition at line 36 of file Comment.inc.php.

Comment.getDateModified (  ) 

get date modified

Returns:
date

Definition at line 212 of file Comment.inc.php.

Comment.getDatePosted (  ) 

get date posted

Returns:
date

Definition at line 196 of file Comment.inc.php.

Comment.getPaperId (  ) 

get paper id

Returns:
int

Definition at line 86 of file Comment.inc.php.

Comment.getParentCommentId (  ) 

get parent comment id

Returns:
int

Definition at line 70 of file Comment.inc.php.

Comment.getPosterEmail (  ) 

get poster email

Definition at line 132 of file Comment.inc.php.

Comment.getPosterIP (  ) 

get posterIP

Returns:
string

Definition at line 148 of file Comment.inc.php.

Comment.getPosterName (  ) 

get poster name

Definition at line 117 of file Comment.inc.php.

Comment.getTitle (  ) 

get title

Returns:
string

Definition at line 164 of file Comment.inc.php.

Comment.getUser (  ) 

get user id

Returns:
int

Definition at line 102 of file Comment.inc.php.

Comment.setBody ( $  body  ) 

set comment body

Parameters:
$body string

Definition at line 188 of file Comment.inc.php.

Comment.setChildCommentCount ( $  childCommentCount  ) 

set number of child comments

Parameters:
$childCommentCount int

Definition at line 62 of file Comment.inc.php.

Comment.setChildren ( &$  children  ) 

set child comments

Parameters:
$children array

Definition at line 237 of file Comment.inc.php.

Comment.setCommentId ( $  commentId  ) 

set paper comment id

Parameters:
$commentId int

Definition at line 45 of file Comment.inc.php.

Comment.setDateModified ( $  dateModified  ) 

set date modified

Parameters:
$dateModified date

Definition at line 220 of file Comment.inc.php.

Comment.setDatePosted ( $  datePosted  ) 

set date posted

Parameters:
$datePosted date

Definition at line 204 of file Comment.inc.php.

Comment.setPaperId ( $  paperId  ) 

set paper id

Parameters:
$paperId int

Definition at line 94 of file Comment.inc.php.

Comment.setParentCommentId ( $  parentCommentId  ) 

set parent comment id

Parameters:
$parentCommentId int

Definition at line 78 of file Comment.inc.php.

Comment.setPosterEmail ( $  posterEmail  ) 

set poster email

Parameters:
$posterEmail string

Definition at line 140 of file Comment.inc.php.

Comment.setPosterIP ( $  posterIP  ) 

set posterIP

Parameters:
$posterIP string

Definition at line 156 of file Comment.inc.php.

Referenced by Comment().

Comment.setPosterName ( $  posterName  ) 

set poster name

Parameters:
$posterName string

Definition at line 125 of file Comment.inc.php.

Comment.setTitle ( $  title  ) 

set title

Parameters:
$title string

Definition at line 172 of file Comment.inc.php.

Comment.setUser ( $  user  ) 

set user id

Parameters:
$user int

Definition at line 110 of file Comment.inc.php.


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7