PHP Class Newscoop\Entity\Notification

ファイルを表示 Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$status_enum to code mapper for status
$type_enum to code mapper for status

Protected Properties

Property Type Description
$content string
$id integer
$status string
$type integer

Public Methods

Method 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 method

Get the content of the notification
public getContent ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getStatus() public method

Get status
public getStatus ( ) : integer
return integer

getType() public method

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

setContent() public method

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

setStatus() public method

Set status
public setStatus ( integer $p_status ) : Newscoop\Entity\Notification
$p_status integer
return Newscoop\Entity\Notification

setType() public method

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

Property Details

$content protected_oe property

protected string $content
return string

$id protected_oe property

protected int $id
return integer

$status protected_oe property

protected string $status
return string

$status_enum static_oe public_oe property

to code mapper for status
static public $status_enum

$type protected_oe property

protected int $type
return integer

$type_enum static_oe public_oe property

to code mapper for status
static public $type_enum