PHP Class Ojs\JournalBundle\Entity\Period

Inheritance: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
ファイルを表示 Open project: ojs/ojs Class Usage Examples

Protected Properties

Property Type Description
$id integer
$translations

Public Methods

Method Description
__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

Method Details

__construct() public method

public __construct ( )

__toString() public method

public __toString ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getPeriod() public method

public getPeriod ( ) : string
return string

getPeriodTranslations() public method

Get period translations
public getPeriodTranslations ( ) : string
return string

setPeriod() public method

public setPeriod ( $period )
$period

translate() public method

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

Property Details

$id protected_oe property

protected int $id
return integer

$translations protected_oe property

protected $translations