PHP 클래스 Ojs\JournalBundle\Entity\ArticleTypes

상속: implements Gedmo\Translatable\Translatable, use trait Ojs\Common\Entity\GenericEntityTrait
파일 보기 프로젝트 열기: ojs/ojs 1 사용 예제들

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( ) Constructor
__toString ( ) : string
getDescription ( ) : string Get description
getDescriptionTranslations ( ) : string Get description translations
getId ( ) : integer Get id
getName ( ) : string Get name
getNameTranslations ( ) : string Get name translations
setDescription ( string $description ) Set description
setName ( string $name ) Set name
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\ArticleTypesTranslation Translation helper method

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

getDescription() 공개 메소드

Get description
public getDescription ( ) : string
리턴 string

getDescriptionTranslations() 공개 메소드

Get description translations

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getName() 공개 메소드

Get name
public getName ( ) : string
리턴 string

getNameTranslations() 공개 메소드

Get name translations
public getNameTranslations ( ) : string
리턴 string

setDescription() 공개 메소드

Set description
public setDescription ( string $description )
$description string

setName() 공개 메소드

Set name
public setName ( string $name )
$name string

translate() 공개 메소드

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

프로퍼티 상세

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

protected int $id
리턴 integer

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

protected $translations