PHP Class Ojs\JournalBundle\Entity\IssueFile

Inheritance: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
Exibir arquivo Open project: ojs/ojs Class Usage Examples

Protected Properties

Property Type Description
$id integer
$translations

Public Methods

Method Description
__construct ( )
getDescription ( ) : string Get description
getDownloadCount ( ) : integer Returns the issue's download count
getFile ( ) : string Get file
getId ( ) : integer Get id
getIssue ( ) : Issue Get issue
getKeywords ( ) : string Get keywords
getLangCode ( ) : string Get langCode
getStatistics ( ) : ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueFileStatistic[]
getTitle ( ) : string Get title
getType ( ) : integer Get type
getVersion ( ) : integer Get version
setDescription ( string $description ) : IssueFile Set description
setFile ( string $file ) : IssueFile Set file
setIssue ( Issue $issue ) : IssueFile Set issue
setKeywords ( string $keywords ) : IssueFile Set keywords
setLangCode ( string $langCode ) : IssueFile Set langCode
setStatistics ( ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueFileStatistic[] $statistics )
setTitle ( string $title ) : IssueFile Set title
setType ( integer $type ) : IssueFile Set type
setUpdated ( DateTime $updated ) : IssueFile Set updated
setVersion ( integer $version ) : IssueFile Set version
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\IssueFileTranslation Translation helper method

Method Details

__construct() public method

public __construct ( )

getDescription() public method

Get description
public getDescription ( ) : string
return string

getDownloadCount() public method

Returns the issue's download count
public getDownloadCount ( ) : integer
return integer

getFile() public method

Get file
public getFile ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getIssue() public method

Get issue
public getIssue ( ) : Issue
return Issue

getKeywords() public method

Get keywords
public getKeywords ( ) : string
return string

getLangCode() public method

Get langCode
public getLangCode ( ) : string
return string

getStatistics() public method

public getStatistics ( ) : ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueFileStatistic[]
return Doctrine\Common\Collections\ArrayCollection | Ojs\AnalyticsBundle\Entity\IssueFileStatistic[]

getTitle() public method

Get title
public getTitle ( ) : string
return string

getType() public method

Get type
public getType ( ) : integer
return integer

getVersion() public method

Get version
public getVersion ( ) : integer
return integer

setDescription() public method

Set description
public setDescription ( string $description ) : IssueFile
$description string
return IssueFile

setFile() public method

Set file
public setFile ( string $file ) : IssueFile
$file string
return IssueFile

setIssue() public method

Set issue
public setIssue ( Issue $issue ) : IssueFile
$issue Issue
return IssueFile

setKeywords() public method

Set keywords
public setKeywords ( string $keywords ) : IssueFile
$keywords string
return IssueFile

setLangCode() public method

Set langCode
public setLangCode ( string $langCode ) : IssueFile
$langCode string
return IssueFile

setStatistics() public method

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

setTitle() public method

Set title
public setTitle ( string $title ) : IssueFile
$title string
return IssueFile

setType() public method

Set type
public setType ( integer $type ) : IssueFile
$type integer
return IssueFile

setUpdated() public method

Set updated
public setUpdated ( DateTime $updated ) : IssueFile
$updated DateTime
return IssueFile

setVersion() public method

Set version
public setVersion ( integer $version ) : IssueFile
$version integer
return IssueFile

translate() public method

Translation helper method
public translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\IssueFileTranslation
$locale null
return mixed | null | Ojs\JournalBundle\Entity\IssueFileTranslation

Property Details

$id protected_oe property

protected int $id
return integer

$translations protected_oe property

protected $translations