Свойство | Тип | Описание | |
---|---|---|---|
$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 getCommenterEmail ( ) : string | ||
Результат | string |
public getCommenterName ( ) : string | ||
Результат | string |
public getDislikes ( ) : integer | ||
Результат | integer |
public getForum ( ) : Newscoop\Entity\Publication | ||
Результат | Newscoop\Entity\Publication |
public getIndexed ( ) : DateTim\DateTime | ||
Результат | DateTim\DateTime |
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 getProperty ( $key ) : mixed | ||
$key | ||
Результат | mixed |
public getRealName ( ) : string | ||
Результат | string |
public getRecommended ( ) : string | ||
Результат | string |
public getThreadLevel ( ) : integer | ||
Результат | integer |
public getThreadOrder ( ) : integer | ||
Результат | integer |
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 | ||
Результат |
protected Newscoop\Entity\Publication $forum | ||
Результат | Newscoop\Entity\Publication |
protected Newscoop\Entity\Language $language | ||
Результат | Newscoop\Entity\Language |
protected Newscoop\Entity\Comment $parent | ||
Результат | Newscoop\Entity\Comment |
protected DateTime,DateTim $time_created | ||
Результат | DateTim\DateTime |