PHP Класс Ojs\JournalBundle\Entity\Block

Наследование: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$id integer
$translations

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

Constructor
public __construct ( )

__toString() публичный Метод

public __toString ( ) : string
Результат string

getBlockOrder() публичный Метод

Get block_order
public getBlockOrder ( ) : integer
Результат integer

getColor() публичный Метод

Get color
public getColor ( ) : string
Результат string

getContent() публичный Метод

Get content
public getContent ( ) : string
Результат string

getId() публичный Метод

Get id
public getId ( ) : integer
Результат integer

getJournal() публичный Метод

Get journal
public getJournal ( ) : Journal
Результат Journal

getTitle() публичный Метод

Get title
public getTitle ( ) : string
Результат string

setBlockOrder() публичный Метод

Set blockOrder
public setBlockOrder ( integer $blockOrder ) : Block
$blockOrder integer
Результат Block

setColor() публичный Метод

Set color
public setColor ( string $color ) : Block
$color string
Результат Block

setContent() публичный Метод

Set content
public setContent ( string $content ) : Block
$content string
Результат Block

setJournal() публичный Метод

Set journal
public setJournal ( Journal $journal = null ) : Board
$journal Journal
Результат Board

setTitle() публичный Метод

Set title
public setTitle ( string $title ) : Block
$title string
Результат Block

translate() публичный Метод

Translation helper method
public translate ( null $locale = null ) : mixed | null | BlockTranslation
$locale null
Результат mixed | null | BlockTranslation

Описание свойств

$id защищенное свойство

protected int $id
Результат integer

$translations защищенное свойство

protected $translations