PHP 클래스 Ojs\JournalBundle\Entity\PublisherTypes

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( )
__toString ( ) : string
addPublisher ( Publisher $publisher )
getDescription ( ) : string Get description
getDescriptionTranslations ( ) : string Get description translations
getId ( ) : integer Get id
getName ( ) : string Get name
getNameTranslations ( ) : string Get name translations
getPublishers ( ) : ArrayCollection
getSlug ( ) : string
removePublisher ( Publisher $publisher )
setCreated ( DateTime $created ) : PublisherTypes Set created
setDescription ( string $description ) : PublisherTypes Set description
setName ( string $name ) : PublisherTypes Set name
setSlug ( mixed $slug )
setUpdated ( DateTime $updated ) : PublisherTypes Set updated
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\PublisherTypesTranslation Translation helper method

메소드 상세

__construct() 공개 메소드

public __construct ( )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

addPublisher() 공개 메소드

public addPublisher ( Publisher $publisher )
$publisher Publisher

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

getPublishers() 공개 메소드

public getPublishers ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

getSlug() 공개 메소드

public getSlug ( ) : string
리턴 string

removePublisher() 공개 메소드

public removePublisher ( Publisher $publisher )
$publisher Publisher

setCreated() 공개 메소드

Set created
public setCreated ( DateTime $created ) : PublisherTypes
$created DateTime
리턴 PublisherTypes

setDescription() 공개 메소드

Set description
public setDescription ( string $description ) : PublisherTypes
$description string
리턴 PublisherTypes

setName() 공개 메소드

Set name
public setName ( string $name ) : PublisherTypes
$name string
리턴 PublisherTypes

setSlug() 공개 메소드

public setSlug ( mixed $slug )
$slug mixed

setUpdated() 공개 메소드

Set updated
public setUpdated ( DateTime $updated ) : PublisherTypes
$updated DateTime
리턴 PublisherTypes

translate() 공개 메소드

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

프로퍼티 상세

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

protected int $id
리턴 integer

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

protected $translations