PHP Class Ojs\JournalBundle\Entity\ContactTypes

Inheritance: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, implements Ojs\ApiBundle\Model\ContactTypesInterface, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
Afficher le fichier Open project: ojs/ojs Class Usage Examples

Protected Properties

Свойство Type Description
$id integer
$translations

Méthodes publiques

Méthode Description
__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
setCreated ( DateTime $created ) : ContactTypes Set created
setDescription ( string $description ) Set description
setName ( string $name ) Set name
setUpdated ( DateTime $updated ) : ContactTypes Set updated
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\ContactTypesTranslation Translation helper method

Method Details

__construct() public méthode

Constructor
public __construct ( )

__toString() public méthode

public __toString ( ) : string
Résultat string

getDescription() public méthode

Get description
public getDescription ( ) : string
Résultat string

getDescriptionTranslations() public méthode

Get description translations
public getDescriptionTranslations ( ) : string
Résultat string

getId() public méthode

Get id
public getId ( ) : integer
Résultat integer

getName() public méthode

Get name
public getName ( ) : string
Résultat string

getNameTranslations() public méthode

Get name translations
public getNameTranslations ( ) : string
Résultat string

setCreated() public méthode

Set created
public setCreated ( DateTime $created ) : ContactTypes
$created DateTime
Résultat ContactTypes

setDescription() public méthode

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

setName() public méthode

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

setUpdated() public méthode

Set updated
public setUpdated ( DateTime $updated ) : ContactTypes
$updated DateTime
Résultat ContactTypes

translate() public méthode

Translation helper method
public translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\ContactTypesTranslation
$locale null
Résultat mixed | null | Ojs\JournalBundle\Entity\ContactTypesTranslation

Property Details

$id protected_oe property

protected int $id
Résultat integer

$translations protected_oe property

protected $translations