PHP Class PartKeepr\CoreBundle\Entity\SystemNotice

Inheritance: extends BaseEntity
Datei anzeigen Open project: partkeepr/PartKeepr

Public Methods

Method Description
getDate ( ) : DateTime Returns the date and time for this entry.
getDescription ( ) : string Returns the description.
getTitle ( ) : string Returns the title for this entry.
getType ( ) : string Returns the type of this entry.
isAcknowledged ( ) : boolean Returns the value of the acknowledged flag.
setAcknowledged ( boolean $bAck = true ) Sets the value of the acknowledged flag.
setDate ( DateTime $date ) Sets the date and time for this entry.
setDescription ( string $description ) Sets the description.
setTitle ( string $title ) Sets the title for this entry.
setType ( string $type ) Sets the type of this entry.

Method Details

getDate() public method

Returns the date and time for this entry.
public getDate ( ) : DateTime
return DateTime the date and time for this entry

getDescription() public method

Returns the description.
public getDescription ( ) : string
return string The description

getTitle() public method

Returns the title for this entry.
public getTitle ( ) : string
return string the title

getType() public method

Returns the type of this entry.
public getType ( ) : string
return string The type

isAcknowledged() public method

Returns the value of the acknowledged flag.
public isAcknowledged ( ) : boolean
return boolean true if this notice has been acknowledged, false otherwise

setAcknowledged() public method

Sets the value of the acknowledged flag.
public setAcknowledged ( boolean $bAck = true )
$bAck boolean True if the notice should be acknowledged (default), false otherwise

setDate() public method

Sets the date and time for this entry.
public setDate ( DateTime $date )
$date DateTime The date and time

setDescription() public method

Sets the description.
public setDescription ( string $description )
$description string

setTitle() public method

Sets the title for this entry.
public setTitle ( string $title )
$title string the title for this entry

setType() public method

Sets the type of this entry.
public setType ( string $type )
$type string