PHP Класс Newscoop\Entity\Notification

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$status_enum to code mapper for status
$type_enum to code mapper for status

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Описание методов

getContent() публичный метод

Get the content of the notification
public getContent ( ) : string
Результат string

getId() публичный метод

Get id
public getId ( ) : integer
Результат integer

getStatus() публичный метод

Get status
public getStatus ( ) : integer
Результат integer

getType() публичный метод

Get Type of the notification for now only comment type
public getType ( ) : integer
Результат integer

setContent() публичный метод

Set the content of the notification
public setContent ( string $p_content ) : Newscoop\Entity\Notification
$p_content string
Результат Newscoop\Entity\Notification

setStatus() публичный метод

Set status
public setStatus ( integer $p_status ) : Newscoop\Entity\Notification
$p_status integer
Результат Newscoop\Entity\Notification

setType() публичный метод

Set Type of the notification for now only comment type
public setType ( integer $p_type ) : Newscoop\Entity\Notification
$p_type integer
Результат Newscoop\Entity\Notification

Описание свойств

$content защищенное свойство

protected string $content
Результат string

$id защищенное свойство

protected int $id
Результат integer

$status защищенное свойство

protected string $status
Результат string

$status_enum статическое публичное свойство

to code mapper for status
static public $status_enum

$type защищенное свойство

protected int $type
Результат integer

$type_enum статическое публичное свойство

to code mapper for status
static public $type_enum