PHP 클래스 Ojs\JournalBundle\Entity\JournalAnnouncement

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( ) Constructor
__toString ( )
getContent ( ) : string Get content
getId ( ) : integer Get id
getImage ( ) : string
getJournal ( ) : Journal
getTitle ( ) : string Get title
getTitleTranslations ( ) : string Get title translations
setContent ( string $content ) : JournalAnnouncement Set content
setImage ( string $image )
setJournal ( Journal $journal )
setTitle ( string $title ) : JournalAnnouncement Set title
translate ( null $locale = null ) : mixed | null | JournalAnnouncementTranslation Translation helper method

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

__toString() 공개 메소드

public __toString ( )

getContent() 공개 메소드

Get content
public getContent ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getImage() 공개 메소드

public getImage ( ) : string
리턴 string

getJournal() 공개 메소드

public getJournal ( ) : Journal
리턴 Journal

getTitle() 공개 메소드

Get title
public getTitle ( ) : string
리턴 string

getTitleTranslations() 공개 메소드

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

setContent() 공개 메소드

Set content
public setContent ( string $content ) : JournalAnnouncement
$content string
리턴 JournalAnnouncement

setImage() 공개 메소드

public setImage ( string $image )
$image string

setJournal() 공개 메소드

public setJournal ( Journal $journal )
$journal Journal

setTitle() 공개 메소드

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

translate() 공개 메소드

Translation helper method
public translate ( null $locale = null ) : mixed | null | JournalAnnouncementTranslation
$locale null
리턴 mixed | null | JournalAnnouncementTranslation

프로퍼티 상세

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

protected int $id
리턴 integer

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

protected $translations