PHP Class Ojs\AdminBundle\Entity\AdminAnnouncement

Inheritance: use trait Ojs\CoreBundle\Entity\DisplayTrait
Show file Open project: ojs/ojs Class Usage Examples

Public Methods

Method Description
__toString ( ) : string
getContent ( ) : string Get content
getId ( ) : integer Get id
getImage ( ) : string
getTitle ( ) : string Get title
setContent ( string $content ) : Announcement Set content
setImage ( string $image )
setTitle ( string $title ) : Announcement Set title

Method Details

__toString() public method

public __toString ( ) : string
return string

getContent() public method

Get content
public getContent ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getImage() public method

public getImage ( ) : string
return string

getTitle() public method

Get title
public getTitle ( ) : string
return string

setContent() public method

Set content
public setContent ( string $content ) : Announcement
$content string
return Announcement

setImage() public method

public setImage ( string $image )
$image string

setTitle() public method

Set title
public setTitle ( string $title ) : Announcement
$title string
return Announcement