PHP 클래스 Ojs\JournalBundle\Entity\Period

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( )
__toString ( ) : string
getId ( ) : integer Get id
getPeriod ( ) : string
getPeriodTranslations ( ) : string Get period translations
setPeriod ( $period )
translate ( null $locale = null ) : mixed | null | PeriodTranslation Translation helper method

메소드 상세

__construct() 공개 메소드

public __construct ( )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getPeriod() 공개 메소드

public getPeriod ( ) : string
리턴 string

getPeriodTranslations() 공개 메소드

Get period translations
public getPeriodTranslations ( ) : string
리턴 string

setPeriod() 공개 메소드

public setPeriod ( $period )
$period

translate() 공개 메소드

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

프로퍼티 상세

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

protected int $id
리턴 integer

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

protected $translations