프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$status_enum | to code mapper for status |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$allowedEmpty | |||
$allowedTags | |||
$commenter | |||
$dislikes | integer | ||
$forum | Newscoop\Entity\Publication | ||
$id | integer | ||
$indexed | DateTim\DateTime | ||
$ip | integer | ||
$language | Newscoop\Entity\Language | ||
$likes | integer | ||
$message | text | ||
$parent | Newscoop\Entity\Comment | ||
$recommended | integer | ||
$source | string | ||
$status | integer | ||
$subject | string | ||
$thread | integer | ||
$thread_level | integer | ||
$thread_order | integer | ||
$time_created | DateTim\DateTime | ||
$time_updated | DateTim\DateTime |
메소드 | 설명 | |
---|---|---|
SameAs ( |
Check if the comment is the same as this one | |
__construct ( ) | ||
exists ( ) : boolean | Check if the comment exists Test if there is set an id | |
getCommenter ( ) : |
Get commenter | |
getCommenterEmail ( ) : string | Get commenter email | |
getCommenterName ( ) : string | Get commenter name | |
getDislikes ( ) : integer | Get the dislikes count | |
getEmail ( ) : string | Get the commenter's email | |
getForum ( ) : Newscoop\Entity\Publication | Get forum | |
getId ( ) : integer | Get id | |
getIndexed ( ) : DateTim\DateTime | Get indexed | |
getIp ( ) : string | Get comment ip address | |
getLanguage ( ) : Newscoop\Entity\Language | Get Language | |
getLikes ( ) : integer | Get the likes count | |
getMessage ( ) : string | Get comment message. | |
getName ( ) : string | Get the commenter's name | |
getParent ( ) : Newscoop\Entity\Comment | Get Parent | |
getParentId ( ) : Newscoop\Entity\Comment | Get Parent Id | |
getProperty ( $key ) : mixed | Get an enity property | |
getRealName ( ) : string | Get username witch should be the real name | |
getRecommended ( ) : string | Get comment recommended | |
getSource ( ) : string | Get comment source | |
getStatus ( ) : string | Get status string | |
getSubject ( ) : string | Get comment subject. | |
getThread ( ) : integer | Get thread | |
getThreadLevel ( ) : integer | Get thread level | |
getThreadOrder ( ) : integer | Get thread level | |
getTimeCreated ( ) : DateTim\DateTime | Get creation time. | |
getTimeUpdated ( ) : DateTim\DateTime | Get creation time. | |
setCommenter ( |
Set commenter | |
setForum ( |
Set forum | |
setId ( integer $id ) : Newscoop\Entity\Comment | Set id | |
setIndexed ( DateTim\DateTime $indexed = null ) : self | Set indexed | |
setIp ( string $ip ) : Newscoop\Entity\Comment | Set comment ip address | |
setLanguage ( |
Set Language | |
setMessage ( string $message ) : Newscoop\Entity\Comment | Set comment message. | |
setParent ( |
Set Parent | |
setRecommended ( string $recommended ) : Newscoop\Entity\Comment | Set recommended | |
setSource ( string $source ) : string | Set comment source | |
setStatus ( $status ) : Newscoop\Entity\Comment | Set status string | |
setSubject ( string $subject ) : Newscoop\Entity\Comment | Set comment subject. | |
setThread ( $thread ) : Newscoop\Entity\Comment | Set thread | |
setThreadLevel ( $level ) : Newscoop\Entity\Comment | Set thread level | |
setThreadOrder ( $order ) : Newscoop\Entity\Comment | Set thread order | |
setTimeCreated ( DateTime $datetime ) : Newscoop\Entity\Comment | Set timecreated | |
setTimeUpdated ( DateTime $datetime ) : Newscoop\Entity\Comment | Set time updated |
메소드 | 설명 | |
---|---|---|
formatMessage ( string $str ) : string | Method used to format message from comments |
protected formatMessage ( string $str ) : string | ||
$str | string | |
리턴 | string |
public getCommenter ( ) : |
||
리턴 |
public getForum ( ) : Newscoop\Entity\Publication | ||
리턴 | Newscoop\Entity\Publication |
public getLanguage ( ) : Newscoop\Entity\Language | ||
리턴 | Newscoop\Entity\Language |
public getParent ( ) : Newscoop\Entity\Comment | ||
리턴 | Newscoop\Entity\Comment |
public getParentId ( ) : Newscoop\Entity\Comment | ||
리턴 | Newscoop\Entity\Comment |
public getRealName ( ) : string | ||
리턴 | string |
public getTimeCreated ( ) : DateTim\DateTime | ||
리턴 | DateTim\DateTime |
public getTimeUpdated ( ) : DateTim\DateTime | ||
리턴 | DateTim\DateTime |
public setCommenter ( |
||
$commenter | ||
리턴 | Newscoop\Entity\Comment |
public setForum ( |
||
$forum | ||
리턴 | Newscoop\Entity\Comment |
public setIndexed ( DateTim\DateTime $indexed = null ) : self | ||
$indexed | DateTim\DateTime | |
리턴 | self |
public setLanguage ( |
||
$language | ||
리턴 | Newscoop\Entity\Comment |
public setMessage ( string $message ) : Newscoop\Entity\Comment | ||
$message | string | |
리턴 | Newscoop\Entity\Comment |
public setParent ( |
||
$parent | ||
리턴 | Newscoop\Entity\Comment |
public setRecommended ( string $recommended ) : Newscoop\Entity\Comment | ||
$recommended | string | |
리턴 | Newscoop\Entity\Comment |
public setStatus ( $status ) : Newscoop\Entity\Comment | ||
리턴 | Newscoop\Entity\Comment |
public setSubject ( string $subject ) : Newscoop\Entity\Comment | ||
$subject | string | |
리턴 | Newscoop\Entity\Comment |
public setThread ( $thread ) : Newscoop\Entity\Comment | ||
리턴 | Newscoop\Entity\Comment |
public setThreadLevel ( $level ) : Newscoop\Entity\Comment | ||
리턴 | Newscoop\Entity\Comment |
public setThreadOrder ( $order ) : Newscoop\Entity\Comment | ||
리턴 | Newscoop\Entity\Comment |
public setTimeCreated ( DateTime $datetime ) : Newscoop\Entity\Comment | ||
$datetime | DateTime | |
리턴 | Newscoop\Entity\Comment |
public setTimeUpdated ( DateTime $datetime ) : Newscoop\Entity\Comment | ||
$datetime | DateTime | |
리턴 | Newscoop\Entity\Comment |
protected Commenter,Newscoop\Entity\Comment $commenter | ||
리턴 |