Свойство | Тип | Описание | |
---|---|---|---|
$status_enum | to code mapper for status | ||
$type_enum | to code mapper for status |
Свойство | Тип | Описание | |
---|---|---|---|
$content | string | ||
$id | integer | ||
$status | string | ||
$type | integer |
Метод | Описание | |
---|---|---|
getContent ( ) : string | Get the content of the notification | |
getId ( ) : integer | Get id | |
getStatus ( ) : integer | Get status | |
getType ( ) : integer | Get Type of the notification for now only comment type | |
setContent ( string $p_content ) : Newscoop\Entity\Notification | Set the content of the notification | |
setStatus ( integer $p_status ) : Newscoop\Entity\Notification | Set status | |
setType ( integer $p_type ) : Newscoop\Entity\Notification | Set Type of the notification for now only comment type |
public getContent ( ) : string | ||
Результат | string |
public setContent ( string $p_content ) : Newscoop\Entity\Notification | ||
$p_content | string | |
Результат | Newscoop\Entity\Notification |