PHP 클래스 Ojs\JournalBundle\Entity\JournalPage

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

보호된 프로퍼티들

프로퍼티 타입 설명
$id integer
$translations

공개 메소드들

메소드 설명
__construct ( ) Constructor
__toString ( ) : string
getBody ( ) : string Get body
getId ( ) : integer Get id
getJournal ( ) : Journal
getPageOrder ( ) : integer
getSlug ( ) : string
getTitle ( ) : string Get title
getTitleTranslations ( ) : string Get title translations
isVisible ( ) : boolean Is visible
setBody ( string $body ) : JournalPage Set body
setJournal ( Journal $journal )
setPageOrder ( integer $pageOrder )
setSlug ( string $slug )
setTitle ( string $title ) : JournalPage Set title
setVisible ( boolean $visible ) Set visible
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\JournalPageTranslation Translation helper method

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

getBody() 공개 메소드

Get body
public getBody ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getJournal() 공개 메소드

public getJournal ( ) : Journal
리턴 Journal

getPageOrder() 공개 메소드

public getPageOrder ( ) : integer
리턴 integer

getSlug() 공개 메소드

public getSlug ( ) : string
리턴 string

getTitle() 공개 메소드

Get title
public getTitle ( ) : string
리턴 string

getTitleTranslations() 공개 메소드

Get title translations
public getTitleTranslations ( ) : string
리턴 string

isVisible() 공개 메소드

Is visible
public isVisible ( ) : boolean
리턴 boolean

setBody() 공개 메소드

Set body
public setBody ( string $body ) : JournalPage
$body string
리턴 JournalPage

setJournal() 공개 메소드

public setJournal ( Journal $journal )
$journal Journal

setPageOrder() 공개 메소드

public setPageOrder ( integer $pageOrder )
$pageOrder integer

setSlug() 공개 메소드

public setSlug ( string $slug )
$slug string

setTitle() 공개 메소드

Set title
public setTitle ( string $title ) : JournalPage
$title string
리턴 JournalPage

setVisible() 공개 메소드

Set visible
public setVisible ( boolean $visible )
$visible boolean

translate() 공개 메소드

Translation helper method
public translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\JournalPageTranslation
$locale null
리턴 mixed | null | Ojs\JournalBundle\Entity\JournalPageTranslation

프로퍼티 상세

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$translations 보호되어 있는 프로퍼티

protected $translations