PHP Class Ojs\JournalBundle\Entity\Block

Inheritance: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
Afficher le fichier Open project: ojs/ojs Class Usage Examples

Protected Properties

Свойство Type Description
$id integer
$translations

Méthodes publiques

Méthode Description
__construct ( ) Constructor
__toString ( ) : string
getBlockOrder ( ) : integer Get block_order
getColor ( ) : string Get color
getContent ( ) : string Get content
getId ( ) : integer Get id
getJournal ( ) : Journal Get journal
getTitle ( ) : string Get title
setBlockOrder ( integer $blockOrder ) : Block Set blockOrder
setColor ( string $color ) : Block Set color
setContent ( string $content ) : Block Set content
setJournal ( Journal $journal = null ) : Board Set journal
setTitle ( string $title ) : Block Set title
translate ( null $locale = null ) : mixed | null | BlockTranslation Translation helper method

Method Details

__construct() public méthode

Constructor
public __construct ( )

__toString() public méthode

public __toString ( ) : string
Résultat string

getBlockOrder() public méthode

Get block_order
public getBlockOrder ( ) : integer
Résultat integer

getColor() public méthode

Get color
public getColor ( ) : string
Résultat string

getContent() public méthode

Get content
public getContent ( ) : string
Résultat string

getId() public méthode

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

getJournal() public méthode

Get journal
public getJournal ( ) : Journal
Résultat Journal

getTitle() public méthode

Get title
public getTitle ( ) : string
Résultat string

setBlockOrder() public méthode

Set blockOrder
public setBlockOrder ( integer $blockOrder ) : Block
$blockOrder integer
Résultat Block

setColor() public méthode

Set color
public setColor ( string $color ) : Block
$color string
Résultat Block

setContent() public méthode

Set content
public setContent ( string $content ) : Block
$content string
Résultat Block

setJournal() public méthode

Set journal
public setJournal ( Journal $journal = null ) : Board
$journal Journal
Résultat Board

setTitle() public méthode

Set title
public setTitle ( string $title ) : Block
$title string
Résultat Block

translate() public méthode

Translation helper method
public translate ( null $locale = null ) : mixed | null | BlockTranslation
$locale null
Résultat mixed | null | BlockTranslation

Property Details

$id protected_oe property

protected int $id
Résultat integer

$translations protected_oe property

protected $translations