PHP Class Newscoop\Entity\Notification

Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

Свойство Type Description
$status_enum to code mapper for status
$type_enum to code mapper for status

Protected Properties

Свойство Type Description
$content string
$id integer
$status string
$type integer

Méthodes publiques

Méthode Description
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

Method Details

getContent() public méthode

Get the content of the notification
public getContent ( ) : string
Résultat string

getId() public méthode

Get id
public getId ( ) : integer
Résultat integer

getStatus() public méthode

Get status
public getStatus ( ) : integer
Résultat integer

getType() public méthode

Get Type of the notification for now only comment type
public getType ( ) : integer
Résultat integer

setContent() public méthode

Set the content of the notification
public setContent ( string $p_content ) : Newscoop\Entity\Notification
$p_content string
Résultat Newscoop\Entity\Notification

setStatus() public méthode

Set status
public setStatus ( integer $p_status ) : Newscoop\Entity\Notification
$p_status integer
Résultat Newscoop\Entity\Notification

setType() public méthode

Set Type of the notification for now only comment type
public setType ( integer $p_type ) : Newscoop\Entity\Notification
$p_type integer
Résultat Newscoop\Entity\Notification

Property Details

$content protected_oe property

protected string $content
Résultat string

$id protected_oe property

protected int $id
Résultat integer

$status protected_oe property

protected string $status
Résultat string

$status_enum static_oe public_oe property

to code mapper for status
static public $status_enum

$type protected_oe property

protected int $type
Résultat integer

$type_enum static_oe public_oe property

to code mapper for status
static public $type_enum