Свойство | Type | Description | |
---|---|---|---|
$status_enum | to code mapper for status |
Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
formatMessage ( string $str ) : string | Method used to format message from comments |
protected formatMessage ( string $str ) : string | ||
$str | string | |
Résultat | string |
public getCommenter ( ) : |
||
Résultat |
public getCommenterEmail ( ) : string | ||
Résultat | string |
public getCommenterName ( ) : string | ||
Résultat | string |
public getDislikes ( ) : integer | ||
Résultat | integer |
public getForum ( ) : Newscoop\Entity\Publication | ||
Résultat | Newscoop\Entity\Publication |
public getIndexed ( ) : DateTim\DateTime | ||
Résultat | DateTim\DateTime |
public getLanguage ( ) : Newscoop\Entity\Language | ||
Résultat | Newscoop\Entity\Language |
public getParent ( ) : Newscoop\Entity\Comment | ||
Résultat | Newscoop\Entity\Comment |
public getParentId ( ) : Newscoop\Entity\Comment | ||
Résultat | Newscoop\Entity\Comment |
public getProperty ( $key ) : mixed | ||
$key | ||
Résultat | mixed |
public getRealName ( ) : string | ||
Résultat | string |
public getRecommended ( ) : string | ||
Résultat | string |
public getThreadLevel ( ) : integer | ||
Résultat | integer |
public getThreadOrder ( ) : integer | ||
Résultat | integer |
public getTimeCreated ( ) : DateTim\DateTime | ||
Résultat | DateTim\DateTime |
public getTimeUpdated ( ) : DateTim\DateTime | ||
Résultat | DateTim\DateTime |
public setCommenter ( |
||
$commenter | ||
Résultat | Newscoop\Entity\Comment |
public setForum ( |
||
$forum | ||
Résultat | Newscoop\Entity\Comment |
public setIndexed ( DateTim\DateTime $indexed = null ) : self | ||
$indexed | DateTim\DateTime | |
Résultat | self |
public setLanguage ( |
||
$language | ||
Résultat | Newscoop\Entity\Comment |
public setMessage ( string $message ) : Newscoop\Entity\Comment | ||
$message | string | |
Résultat | Newscoop\Entity\Comment |
public setParent ( |
||
$parent | ||
Résultat | Newscoop\Entity\Comment |
public setRecommended ( string $recommended ) : Newscoop\Entity\Comment | ||
$recommended | string | |
Résultat | Newscoop\Entity\Comment |
public setStatus ( $status ) : Newscoop\Entity\Comment | ||
Résultat | Newscoop\Entity\Comment |
public setSubject ( string $subject ) : Newscoop\Entity\Comment | ||
$subject | string | |
Résultat | Newscoop\Entity\Comment |
public setThread ( $thread ) : Newscoop\Entity\Comment | ||
Résultat | Newscoop\Entity\Comment |
public setThreadLevel ( $level ) : Newscoop\Entity\Comment | ||
Résultat | Newscoop\Entity\Comment |
public setThreadOrder ( $order ) : Newscoop\Entity\Comment | ||
Résultat | Newscoop\Entity\Comment |
public setTimeCreated ( DateTime $datetime ) : Newscoop\Entity\Comment | ||
$datetime | DateTime | |
Résultat | Newscoop\Entity\Comment |
public setTimeUpdated ( DateTime $datetime ) : Newscoop\Entity\Comment | ||
$datetime | DateTime | |
Résultat | Newscoop\Entity\Comment |
protected Commenter,Newscoop\Entity\Comment $commenter | ||
Résultat |
protected Newscoop\Entity\Publication $forum | ||
Résultat | Newscoop\Entity\Publication |
protected Newscoop\Entity\Language $language | ||
Résultat | Newscoop\Entity\Language |
protected Newscoop\Entity\Comment $parent | ||
Résultat | Newscoop\Entity\Comment |
protected DateTime,DateTim $time_created | ||
Résultat | DateTim\DateTime |