PHP Class Ojs\JournalBundle\Entity\Issue

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( )
__toString ( ) : string Return formatted issue title and id eg. : "Issue title [#id]"
addArticle ( Article $article ) : Issue Add article
addCatalog ( Catalog $catalog ) : Issue Add catalog
addIssueFile ( IssueFile $issueFile )
addSection ( Ojs\JournalBundle\Entity\Section $section ) Add section to issue
getArticles ( ) : ArrayCollection | Article[] Get articles
getCatalogs ( ) : Doctrine\Common\Collections\Collection Get catalogs
getCover ( ) : string Get cover image path
getDatePublished ( ) : DateTime Get datePublished
getDescription ( ) : string Get description
getDisplayMode ( ) : integer
getFullFile ( ) : string
getHeader ( ) : string
getId ( ) : integer Get id
getInPress ( ) : integer
getIssueFiles ( ) : ArrayCollection | IssueFile[]
getJournal ( ) : Journal Get journal
getNumber ( ) : string Get number
getNumerator ( ) : integer
getPublicURI ( ) : string
getSections ( ) : ArrayCollection | Ojs\JournalBundle\Entity\Section[] Get sections
getSpecial ( ) : boolean is special
getStatistics ( ) : ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueStatistic[]
getSupplement ( ) : boolean Get supplement
getTitle ( boolean $withLocale = false ) : string Get title
getTitleTranslations ( ) : string Get title translations
getTotalArticleDownload ( ) : integer
getTotalArticleView ( ) : integer
getVolume ( ) : string Get volume
getYear ( ) : DateTime Get year
isLastIssue ( ) : boolean
isPublic ( ) : boolean
isPublished ( ) : boolean
isSpecial ( )
isSupplement ( ) : boolean
removeArticle ( Article $article ) : Issue Remove article
removeCatalog ( Catalog $catalog ) Remove catalog
removeSection ( Ojs\JournalBundle\Entity\Section $section ) Remove section from issue
setCover ( string $cover ) : Issue Set cover image path
setCreated ( DateTime $created ) : Issue Set created
setDatePublished ( DateTime $datePublished ) : Issue Set datePublished
setDescription ( string $description ) : Issue Set description
setDisplayMode ( integer $displayMode ) : Issue
setFullFile ( string $fullFile )
setHeader ( string $header )
setInPress ( integer $inPress ) : Issue
setJournal ( Journal $journal ) : Issue Set journal
setLastIssue ( boolean $lastIssue )
setNumber ( string $number ) : Issue Set number
setNumerator ( integer $numerator )
setPublic ( boolean $public )
setPublicURI ( string $publicURI )
setPublished ( boolean $published )
setSpecial ( boolean $special ) : Issue Set is special
setStatistics ( ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueStatistic[] $statistics )
setSupplement ( boolean $supplement )
setTitle ( string $title ) : Issue Set title
setTotalArticleDownload ( integer $totalArticleDownload )
setTotalArticleView ( integer $totalArticleView )
setUpdated ( DateTime $updated ) : Issue Set updated
setVolume ( string $volume ) : Issue Set volume
setYear ( DateTime $year ) : Issue Set year
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\IssueTranslation Translation helper method

Method Details

__construct() public méthode

public __construct ( )

__toString() public méthode

Return formatted issue title and id eg. : "Issue title [#id]"
public __toString ( ) : string
Résultat string

addArticle() public méthode

Add article
public addArticle ( Article $article ) : Issue
$article Article
Résultat Issue

addCatalog() public méthode

Add catalog
public addCatalog ( Catalog $catalog ) : Issue
$catalog Catalog
Résultat Issue

addIssueFile() public méthode

public addIssueFile ( IssueFile $issueFile )
$issueFile IssueFile

addSection() public méthode

Add section to issue
public addSection ( Ojs\JournalBundle\Entity\Section $section )
$section Ojs\JournalBundle\Entity\Section

getArticles() public méthode

Get articles
public getArticles ( ) : ArrayCollection | Article[]
Résultat Doctrine\Common\Collections\ArrayCollection | Article[]

getCatalogs() public méthode

Get catalogs
public getCatalogs ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getCover() public méthode

Get cover image path
public getCover ( ) : string
Résultat string

getDatePublished() public méthode

Get datePublished
public getDatePublished ( ) : DateTime
Résultat DateTime

getDescription() public méthode

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

getDisplayMode() public méthode

public getDisplayMode ( ) : integer
Résultat integer

getFullFile() public méthode

public getFullFile ( ) : string
Résultat string

getHeader() public méthode

public getHeader ( ) : string
Résultat string

getId() public méthode

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

getInPress() public méthode

public getInPress ( ) : integer
Résultat integer

getIssueFiles() public méthode

public getIssueFiles ( ) : ArrayCollection | IssueFile[]
Résultat Doctrine\Common\Collections\ArrayCollection | IssueFile[]

getJournal() public méthode

Get journal
public getJournal ( ) : Journal
Résultat Journal

getNumber() public méthode

Get number
public getNumber ( ) : string
Résultat string

getNumerator() public méthode

public getNumerator ( ) : integer
Résultat integer

getPublicURI() public méthode

public getPublicURI ( ) : string
Résultat string

getSections() public méthode

Get sections
public getSections ( ) : ArrayCollection | Ojs\JournalBundle\Entity\Section[]
Résultat Doctrine\Common\Collections\ArrayCollection | Ojs\JournalBundle\Entity\Section[]

getSpecial() public méthode

is special
public getSpecial ( ) : boolean
Résultat boolean

getStatistics() public méthode

public getStatistics ( ) : ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueStatistic[]
Résultat Doctrine\Common\Collections\ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueStatistic[]

getSupplement() public méthode

Get supplement
public getSupplement ( ) : boolean
Résultat boolean

getTitle() public méthode

Get title
public getTitle ( boolean $withLocale = false ) : string
$withLocale boolean
Résultat string

getTitleTranslations() public méthode

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

getTotalArticleDownload() public méthode

public getTotalArticleDownload ( ) : integer
Résultat integer

getTotalArticleView() public méthode

public getTotalArticleView ( ) : integer
Résultat integer

getVolume() public méthode

Get volume
public getVolume ( ) : string
Résultat string

getYear() public méthode

Get year
public getYear ( ) : DateTime
Résultat DateTime

isLastIssue() public méthode

public isLastIssue ( ) : boolean
Résultat boolean

isPublic() public méthode

public isPublic ( ) : boolean
Résultat boolean

isPublished() public méthode

public isPublished ( ) : boolean
Résultat boolean

isSpecial() public méthode

public isSpecial ( )

isSupplement() public méthode

public isSupplement ( ) : boolean
Résultat boolean

removeArticle() public méthode

Remove article
public removeArticle ( Article $article ) : Issue
$article Article
Résultat Issue

removeCatalog() public méthode

Remove catalog
public removeCatalog ( Catalog $catalog )
$catalog Catalog

removeSection() public méthode

Remove section from issue
public removeSection ( Ojs\JournalBundle\Entity\Section $section )
$section Ojs\JournalBundle\Entity\Section

setCover() public méthode

Set cover image path
public setCover ( string $cover ) : Issue
$cover string
Résultat Issue

setCreated() public méthode

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

setDatePublished() public méthode

Set datePublished
public setDatePublished ( DateTime $datePublished ) : Issue
$datePublished DateTime
Résultat Issue

setDescription() public méthode

Set description
public setDescription ( string $description ) : Issue
$description string
Résultat Issue

setDisplayMode() public méthode

public setDisplayMode ( integer $displayMode ) : Issue
$displayMode integer
Résultat Issue

setFullFile() public méthode

public setFullFile ( string $fullFile )
$fullFile string

setHeader() public méthode

public setHeader ( string $header )
$header string

setInPress() public méthode

public setInPress ( integer $inPress ) : Issue
$inPress integer
Résultat Issue

setJournal() public méthode

Set journal
public setJournal ( Journal $journal ) : Issue
$journal Journal
Résultat Issue

setLastIssue() public méthode

public setLastIssue ( boolean $lastIssue )
$lastIssue boolean

setNumber() public méthode

Set number
public setNumber ( string $number ) : Issue
$number string
Résultat Issue

setNumerator() public méthode

public setNumerator ( integer $numerator )
$numerator integer

setPublic() public méthode

public setPublic ( boolean $public )
$public boolean

setPublicURI() public méthode

public setPublicURI ( string $publicURI )
$publicURI string

setPublished() public méthode

public setPublished ( boolean $published )
$published boolean

setSpecial() public méthode

Set is special
public setSpecial ( boolean $special ) : Issue
$special boolean
Résultat Issue

setStatistics() public méthode

public setStatistics ( ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueStatistic[] $statistics )
$statistics Doctrine\Common\Collections\ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueStatistic[]

setSupplement() public méthode

public setSupplement ( boolean $supplement )
$supplement boolean

setTitle() public méthode

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

setTotalArticleDownload() public méthode

public setTotalArticleDownload ( integer $totalArticleDownload )
$totalArticleDownload integer

setTotalArticleView() public méthode

public setTotalArticleView ( integer $totalArticleView )
$totalArticleView integer

setUpdated() public méthode

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

setVolume() public méthode

Set volume
public setVolume ( string $volume ) : Issue
$volume string
Résultat Issue

setYear() public méthode

Set year
public setYear ( DateTime $year ) : Issue
$year DateTime
Résultat Issue

translate() public méthode

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

Property Details

$id protected_oe property

protected int $id
Résultat integer

$translations protected_oe property

protected $translations