PHP 클래스 Ojs\JournalBundle\Entity\Block

상속: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
파일 보기 프로젝트 열기: ojs/ojs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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