PHP Class Ojs\JournalBundle\Entity\JournalPage

Inheritance: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, implements Ojs\JournalBundle\Entity\JournalItemInterface, 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
getBody ( ) : string Get body
getId ( ) : integer Get id
getJournal ( ) : Journal
getPageOrder ( ) : integer
getSlug ( ) : string
getTitle ( ) : string Get title
getTitleTranslations ( ) : string Get title translations
isVisible ( ) : boolean Is visible
setBody ( string $body ) : JournalPage Set body
setJournal ( Journal $journal )
setPageOrder ( integer $pageOrder )
setSlug ( string $slug )
setTitle ( string $title ) : JournalPage Set title
setVisible ( boolean $visible ) Set visible
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\JournalPageTranslation Translation helper method

Method Details

__construct() public méthode

Constructor
public __construct ( )

__toString() public méthode

public __toString ( ) : string
Résultat string

getBody() public méthode

Get body
public getBody ( ) : string
Résultat string

getId() public méthode

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

getJournal() public méthode

public getJournal ( ) : Journal
Résultat Journal

getPageOrder() public méthode

public getPageOrder ( ) : integer
Résultat integer

getSlug() public méthode

public getSlug ( ) : string
Résultat string

getTitle() public méthode

Get title
public getTitle ( ) : string
Résultat string

getTitleTranslations() public méthode

Get title translations
public getTitleTranslations ( ) : string
Résultat string

isVisible() public méthode

Is visible
public isVisible ( ) : boolean
Résultat boolean

setBody() public méthode

Set body
public setBody ( string $body ) : JournalPage
$body string
Résultat JournalPage

setJournal() public méthode

public setJournal ( Journal $journal )
$journal Journal

setPageOrder() public méthode

public setPageOrder ( integer $pageOrder )
$pageOrder integer

setSlug() public méthode

public setSlug ( string $slug )
$slug string

setTitle() public méthode

Set title
public setTitle ( string $title ) : JournalPage
$title string
Résultat JournalPage

setVisible() public méthode

Set visible
public setVisible ( boolean $visible )
$visible boolean

translate() public méthode

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

Property Details

$id protected_oe property

protected int $id
Résultat integer

$translations protected_oe property

protected $translations