PHP Class Ojs\JournalBundle\Entity\Journal

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

Public Properties

Property Type Description
$statuses array List of Journal Status

Protected Properties

Property Type Description
$footerText string
$id integer
$note string
$setupFinished boolean
$translations

Public Methods

Method Description
__construct ( ) Constructor
__toString ( ) : string
addArticle ( Article $article ) : Journal Add articles
addArticleType ( ArticleTypes $articleType ) : Journal Add articleType
addBannedUser ( User $bannedUser ) : Journal Add bannedUsers
addBoard ( Board $board ) Add board
addCatalog ( Catalog $catalog ) : Journal Add catalog
addIssue ( Issue $issue ) : Journal Add issue
addJournalApplicationUploadFile ( Ojs\JournalBundle\Entity\JournalApplicationUploadFile $journalApplicationUploadFile ) q Add application file item
addJournalContact ( JournalContact $journalContact ) : Journal Add journalContact
addJournalIndex ( JournalIndex $journalIndex ) : Journal Add journalIndexs
addJournalSubmissionFile ( JournalSubmissionFile $journalSubmissionFile ) : Journal Add submission file item
addJournalUser ( JournalUser $journalUser ) : Journal Add journalUser
addLanguage ( Lang $language ) : Journal
addPeriod ( Period $period ) : Journal
addSection ( Ojs\JournalBundle\Entity\Section $section ) : Journal
addSubject ( Subject $subject ) : Journal
addSubmissionChecklist ( SubmissionChecklist $submissionChecklist ) : Journal Add submission checklist item
getAccessModal ( ) : integer
getAddress ( ) : string
getAnnouncements ( ) : ArrayCollection | JournalAnnouncement[]
getArticleTypes ( ) : Doctrine\Common\Collections\Collection Get articleTypes
getArticles ( ) : ArrayCollection | Article[] Get articles
getBannedUsers ( ) : ArrayCollection | User[] Get bannedUsers
getBoards ( ) : ArrayCollection | Board[] Get boards
getCatalogs ( ) : Doctrine\Common\Collections\Collection Get catalogs
getContinuedAsJournal ( ) : Journal
getCountry ( ) : BulutYazilim\LocationBundle\Entity\Country Get country
getDescription ( ) : string
getDesign ( ) : Ojs\JournalBundle\Entity\Design
getDomain ( ) : string Get domain
getEissn ( ) : string Get eissn
getEmail ( ) : string
getEndingDate ( ) : DateTime
getExtraFields ( ) : mixed
getFooterText ( ) : string
getFormerlyKnownAsJournal ( ) : Journal
getFounded ( ) : DateTime Get founded
getGoogleAnalyticsId ( ) : string Get googleAnalyticsId
getHeader ( ) : string
getId ( ) : integer Get id
getImage ( ) : string Get image
getIssn ( ) : string Get issn
getIssues ( ) : ArrayCollection | Issue[] Get issues
getJournalApplicationUploadFiles ( ) : ArrayCollection | Ojs\JournalBundle\Entity\JournalApplicationUploadFile[] Get application files
getJournalContacts ( ) : ArrayCollection
getJournalIndexesBag ( ) : string
getJournalIndexs ( ) : ArrayCollection | JournalIndex[] Get journalIndexs
getJournalSubmissionFiles ( ) : ArrayCollection | JournalSubmissionFile[] Get submission file
getJournalUsers ( ) : Doctrine\Common\Collections\Collection
getLanguageCodeSet ( ) : string
getLanguages ( ) : ArrayCollection | Lang[]
getLocaleCodeBag ( ) : array
getLogo ( ) : string
getMandatoryLang ( ) : Lang
getNote ( ) : string
getPath ( ) : string Get path
getPeriods ( ) : ArrayCollection | Period[]
getPhone ( ) : string
getPublicURI ( ) : string
getPublisher ( ) : Publisher
getSections ( ) : ArrayCollection | Ojs\JournalBundle\Entity\Section[]
getSettings ( ) : Doctrine\Common\Collections\Collection Get settings
getSlug ( ) : string Get slug
getStatistics ( ) : ArrayCollection | Ojs\AnalyticsBundle\Entity\JournalStatistic[]
getStatus ( ) : integer Get status
getSubjects ( ) : ArrayCollection
getSubmissionChecklist ( ) : ArrayCollection | SubmissionChecklist[] Get submission checklist
getSubtitle ( ) : string Get subtitle
getTheme ( ) : JournalTheme Get theme
getTitle ( ) : string Get title
getTitleAbbr ( ) : string Get titleAbbr
getTitleTranslations ( ) : string Get title
getTitleTransliterated ( ) : string Get titleTransliterated
getTotalArticleDownload ( ) : integer
getTotalArticleView ( ) : integer
getUrl ( ) : string Get url
isConfigured ( ) : boolean Get configured
isIndexable ( ) : boolean Returns true if journal is indexable
isPrinted ( ) : boolean
isSetupFinished ( ) : boolean
removeArticleType ( ArticleTypes $articleType ) Remove articleType
removeBannedUser ( User $bannedUsers ) Remove bannedUsers
removeCatalog ( Catalog $catalog ) Remove catalog
removePeriod ( Period $period )
removeSubject ( Subject $subject ) : Journal Remove subjects
removeSubjects ( Subject $subject )
setAccessModal ( integer $accessModal )
setAddress ( string $address )
setAnnouncements ( ArrayCollection | JournalAnnouncement[] $announcements )
setConfigured ( boolean $configured ) : Journal Set configured
setContinuedAsJournal ( Journal $continuedAsJournal )
setCountry ( BulutYazilim\LocationBundle\Entity\Country $country = null ) : Journal Set country
setCreated ( DateTime $created ) : Journal Set created
setDescription ( mixed $description )
setDesign ( Ojs\JournalBundle\Entity\Design $design = null )
setDomain ( string $domain ) : Journal Set domain
setEissn ( string $eissn ) : Journal Set eissn
setEmail ( string $email )
setEndingDate ( DateTime $endingDate )
setExtraFields ( mixed $extraFields )
setFooterText ( string $footerText )
setFormerlyKnownAsJournal ( Journal $formerlyKnownAsJournal )
setFounded ( DateTime $founded ) : Journal Set founded
setGoogleAnalyticsId ( string $googleAnalyticsId ) : Journal Set googleAnalyticsId
setHeader ( string $header )
setImage ( string $image ) : Journal Set image
setIssn ( string $issn ) : Journal Set issn
setJournalContacts ( ArrayCollection $journalContacts )
setJournalIndexesBag ( string $journalIndexesBag )
setJournalUsers ( mixed $journalUsers )
setLanguageCodeSet ( ArrayCollection | Lang[] $languages )
setLogo ( string $logo )
setMandatoryLang ( Lang $mandatoryLang )
setNote ( string $note )
setPath ( string $path ) : Journal Set path
setPhone ( string $phone )
setPrinted ( boolean $printed )
setPublicURI ( string $publicURI )
setPublisher ( Publisher $publisher ) : Journal Set publisher
setSetupFinished ( boolean $setupFinished )
setSlug ( string $slug ) : Journal Set slug
setStatistics ( ArrayCollection | Ojs\AnalyticsBundle\Entity\JournalStatistic[] $statistics )
setStatus ( integer $status ) : Journal Set status
setSubtitle ( string $subtitle ) : Journal Set subtitle
setTheme ( Ojs\CoreBundle\Entity\ThemeInterface $theme = null ) : Journal Set theme
setTitle ( string $title ) : Journal Set title
setTitleAbbr ( string $titleAbbr ) : Journal Set titleAbbr
setTitleTransliterated ( string $titleTransliterated ) : Journal Set titleTransliterated
setTotalArticleDownload ( integer $totalArticleDownload )
setTotalArticleView ( integer $totalArticleView )
setUpdated ( DateTime $updated ) : Journal Set updated
setUrl ( string $url ) : Journal Set url
translate ( null $locale = null ) : mixed | null | JournalTranslation Translation helper method

Method Details

__construct() public method

Constructor
public __construct ( )

__toString() public method

public __toString ( ) : string
return string

addArticle() public method

Add articles
public addArticle ( Article $article ) : Journal
$article Article
return Journal

addArticleType() public method

Add articleType
public addArticleType ( ArticleTypes $articleType ) : Journal
$articleType ArticleTypes
return Journal

addBannedUser() public method

Add bannedUsers
public addBannedUser ( User $bannedUser ) : Journal
$bannedUser Ojs\UserBundle\Entity\User
return Journal

addBoard() public method

Add board
public addBoard ( Board $board )
$board Board

addCatalog() public method

Add catalog
public addCatalog ( Catalog $catalog ) : Journal
$catalog Catalog
return Journal

addIssue() public method

Add issue
public addIssue ( Issue $issue ) : Journal
$issue Issue
return Journal

addJournalApplicationUploadFile() public method

q Add application file item
public addJournalApplicationUploadFile ( Ojs\JournalBundle\Entity\JournalApplicationUploadFile $journalApplicationUploadFile )
$journalApplicationUploadFile Ojs\JournalBundle\Entity\JournalApplicationUploadFile

addJournalContact() public method

Add journalContact
public addJournalContact ( JournalContact $journalContact ) : Journal
$journalContact JournalContact
return Journal

addJournalIndex() public method

Add journalIndexs
public addJournalIndex ( JournalIndex $journalIndex ) : Journal
$journalIndex JournalIndex
return Journal

addJournalSubmissionFile() public method

Add submission file item
public addJournalSubmissionFile ( JournalSubmissionFile $journalSubmissionFile ) : Journal
$journalSubmissionFile JournalSubmissionFile
return Journal

addJournalUser() public method

Add journalUser
public addJournalUser ( JournalUser $journalUser ) : Journal
$journalUser JournalUser
return Journal

addLanguage() public method

public addLanguage ( Lang $language ) : Journal
$language Lang
return Journal

addPeriod() public method

public addPeriod ( Period $period ) : Journal
$period Period
return Journal

addSection() public method

public addSection ( Ojs\JournalBundle\Entity\Section $section ) : Journal
$section Ojs\JournalBundle\Entity\Section
return Journal

addSubject() public method

public addSubject ( Subject $subject ) : Journal
$subject Subject
return Journal

addSubmissionChecklist() public method

Add submission checklist item
public addSubmissionChecklist ( SubmissionChecklist $submissionChecklist ) : Journal
$submissionChecklist SubmissionChecklist
return Journal

getAccessModal() public method

public getAccessModal ( ) : integer
return integer

getAddress() public method

public getAddress ( ) : string
return string

getAnnouncements() public method

public getAnnouncements ( ) : ArrayCollection | JournalAnnouncement[]
return Doctrine\Common\Collections\ArrayCollection | JournalAnnouncement[]

getArticleTypes() public method

Get articleTypes
public getArticleTypes ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getArticles() public method

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

getBannedUsers() public method

Get bannedUsers
public getBannedUsers ( ) : ArrayCollection | User[]
return Doctrine\Common\Collections\ArrayCollection | Ojs\UserBundle\Entity\User[]

getBoards() public method

Get boards
public getBoards ( ) : ArrayCollection | Board[]
return Doctrine\Common\Collections\ArrayCollection | Board[]

getCatalogs() public method

Get catalogs
public getCatalogs ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getContinuedAsJournal() public method

public getContinuedAsJournal ( ) : Journal
return Journal

getCountry() public method

Get country
public getCountry ( ) : BulutYazilim\LocationBundle\Entity\Country
return BulutYazilim\LocationBundle\Entity\Country

getDescription() public method

public getDescription ( ) : string
return string

getDesign() public method

public getDesign ( ) : Ojs\JournalBundle\Entity\Design
return Ojs\JournalBundle\Entity\Design

getDomain() public method

Get domain
public getDomain ( ) : string
return string

getEissn() public method

Get eissn
public getEissn ( ) : string
return string

getEmail() public method

public getEmail ( ) : string
return string

getEndingDate() public method

public getEndingDate ( ) : DateTime
return DateTime

getExtraFields() public method

public getExtraFields ( ) : mixed
return mixed

getFooterText() public method

public getFooterText ( ) : string
return string

getFormerlyKnownAsJournal() public method

public getFormerlyKnownAsJournal ( ) : Journal
return Journal

getFounded() public method

Get founded
public getFounded ( ) : DateTime
return DateTime

getGoogleAnalyticsId() public method

Get googleAnalyticsId
public getGoogleAnalyticsId ( ) : string
return string

getHeader() public method

public getHeader ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getImage() public method

Get image
public getImage ( ) : string
return string

getIssn() public method

Get issn
public getIssn ( ) : string
return string

getIssues() public method

Get issues
public getIssues ( ) : ArrayCollection | Issue[]
return Doctrine\Common\Collections\ArrayCollection | Issue[]

getJournalApplicationUploadFiles() public method

Get application files
public getJournalApplicationUploadFiles ( ) : ArrayCollection | Ojs\JournalBundle\Entity\JournalApplicationUploadFile[]
return Doctrine\Common\Collections\ArrayCollection | Ojs\JournalBundle\Entity\JournalApplicationUploadFile[]

getJournalContacts() public method

public getJournalContacts ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection

getJournalIndexesBag() public method

public getJournalIndexesBag ( ) : string
return string

getJournalIndexs() public method

Get journalIndexs
public getJournalIndexs ( ) : ArrayCollection | JournalIndex[]
return Doctrine\Common\Collections\ArrayCollection | JournalIndex[]

getJournalSubmissionFiles() public method

Get submission file
public getJournalSubmissionFiles ( ) : ArrayCollection | JournalSubmissionFile[]
return Doctrine\Common\Collections\ArrayCollection | JournalSubmissionFile[]

getJournalUsers() public method

public getJournalUsers ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getLanguageCodeSet() public method

public getLanguageCodeSet ( ) : string
return string

getLanguages() public method

public getLanguages ( ) : ArrayCollection | Lang[]
return Doctrine\Common\Collections\ArrayCollection | Lang[]

getLocaleCodeBag() public method

public getLocaleCodeBag ( ) : array
return array

getMandatoryLang() public method

public getMandatoryLang ( ) : Lang
return Lang

getNote() public method

public getNote ( ) : string
return string

getPath() public method

Get path
public getPath ( ) : string
return string

getPeriods() public method

public getPeriods ( ) : ArrayCollection | Period[]
return Doctrine\Common\Collections\ArrayCollection | Period[]

getPhone() public method

public getPhone ( ) : string
return string

getPublicURI() public method

public getPublicURI ( ) : string
return string

getPublisher() public method

public getPublisher ( ) : Publisher
return Publisher

getSections() public method

public getSections ( ) : ArrayCollection | Ojs\JournalBundle\Entity\Section[]
return Doctrine\Common\Collections\ArrayCollection | Ojs\JournalBundle\Entity\Section[]

getSettings() public method

Get settings
public getSettings ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getSlug() public method

Get slug
public getSlug ( ) : string
return string

getStatistics() public method

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

getStatus() public method

Get status
public getStatus ( ) : integer
return integer

getSubjects() public method

public getSubjects ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection

getSubmissionChecklist() public method

Get submission checklist
public getSubmissionChecklist ( ) : ArrayCollection | SubmissionChecklist[]
return Doctrine\Common\Collections\ArrayCollection | SubmissionChecklist[]

getSubtitle() public method

Get subtitle
public getSubtitle ( ) : string
return string

getTheme() public method

Get theme
public getTheme ( ) : JournalTheme
return JournalTheme

getTitle() public method

Get title
public getTitle ( ) : string
return string

getTitleAbbr() public method

Get titleAbbr
public getTitleAbbr ( ) : string
return string

getTitleTranslations() public method

Get title
public getTitleTranslations ( ) : string
return string

getTitleTransliterated() public method

Get titleTransliterated
public getTitleTransliterated ( ) : string
return string

getTotalArticleDownload() public method

getTotalArticleView() public method

public getTotalArticleView ( ) : integer
return integer

getUrl() public method

Get url
public getUrl ( ) : string
return string

isConfigured() public method

Get configured
public isConfigured ( ) : boolean
return boolean

isIndexable() public method

Returns true if journal is indexable
public isIndexable ( ) : boolean
return boolean

isPrinted() public method

public isPrinted ( ) : boolean
return boolean

isSetupFinished() public method

public isSetupFinished ( ) : boolean
return boolean

removeArticleType() public method

Remove articleType
public removeArticleType ( ArticleTypes $articleType )
$articleType ArticleTypes

removeBannedUser() public method

Remove bannedUsers
public removeBannedUser ( User $bannedUsers )
$bannedUsers Ojs\UserBundle\Entity\User

removeCatalog() public method

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

removePeriod() public method

public removePeriod ( Period $period )
$period Period

removeSubject() public method

Remove subjects
public removeSubject ( Subject $subject ) : Journal
$subject Subject
return Journal

removeSubjects() public method

public removeSubjects ( Subject $subject )
$subject Subject

setAccessModal() public method

public setAccessModal ( integer $accessModal )
$accessModal integer

setAddress() public method

public setAddress ( string $address )
$address string

setAnnouncements() public method

public setAnnouncements ( ArrayCollection | JournalAnnouncement[] $announcements )
$announcements Doctrine\Common\Collections\ArrayCollection | JournalAnnouncement[]

setConfigured() public method

Set configured
public setConfigured ( boolean $configured ) : Journal
$configured boolean
return Journal

setContinuedAsJournal() public method

public setContinuedAsJournal ( Journal $continuedAsJournal )
$continuedAsJournal Journal

setCountry() public method

Set country
public setCountry ( BulutYazilim\LocationBundle\Entity\Country $country = null ) : Journal
$country BulutYazilim\LocationBundle\Entity\Country
return Journal

setCreated() public method

Set created
public setCreated ( DateTime $created ) : Journal
$created DateTime
return Journal

setDescription() public method

public setDescription ( mixed $description )
$description mixed

setDesign() public method

public setDesign ( Ojs\JournalBundle\Entity\Design $design = null )
$design Ojs\JournalBundle\Entity\Design

setDomain() public method

Set domain
public setDomain ( string $domain ) : Journal
$domain string
return Journal

setEissn() public method

Set eissn
public setEissn ( string $eissn ) : Journal
$eissn string
return Journal

setEmail() public method

public setEmail ( string $email )
$email string

setEndingDate() public method

public setEndingDate ( DateTime $endingDate )
$endingDate DateTime

setExtraFields() public method

public setExtraFields ( mixed $extraFields )
$extraFields mixed

setFooterText() public method

public setFooterText ( string $footerText )
$footerText string

setFormerlyKnownAsJournal() public method

public setFormerlyKnownAsJournal ( Journal $formerlyKnownAsJournal )
$formerlyKnownAsJournal Journal

setFounded() public method

Set founded
public setFounded ( DateTime $founded ) : Journal
$founded DateTime
return Journal

setGoogleAnalyticsId() public method

Set googleAnalyticsId
public setGoogleAnalyticsId ( string $googleAnalyticsId ) : Journal
$googleAnalyticsId string
return Journal

setHeader() public method

public setHeader ( string $header )
$header string

setImage() public method

Set image
public setImage ( string $image ) : Journal
$image string
return Journal

setIssn() public method

Set issn
public setIssn ( string $issn ) : Journal
$issn string
return Journal

setJournalContacts() public method

public setJournalContacts ( ArrayCollection $journalContacts )
$journalContacts Doctrine\Common\Collections\ArrayCollection

setJournalIndexesBag() public method

public setJournalIndexesBag ( string $journalIndexesBag )
$journalIndexesBag string

setJournalUsers() public method

public setJournalUsers ( mixed $journalUsers )
$journalUsers mixed

setLanguageCodeSet() public method

public setLanguageCodeSet ( ArrayCollection | Lang[] $languages )
$languages Doctrine\Common\Collections\ArrayCollection | Lang[]

setMandatoryLang() public method

public setMandatoryLang ( Lang $mandatoryLang )
$mandatoryLang Lang

setNote() public method

public setNote ( string $note )
$note string

setPath() public method

Set path
public setPath ( string $path ) : Journal
$path string
return Journal

setPhone() public method

public setPhone ( string $phone )
$phone string

setPrinted() public method

public setPrinted ( boolean $printed )
$printed boolean

setPublicURI() public method

public setPublicURI ( string $publicURI )
$publicURI string

setPublisher() public method

Set publisher
public setPublisher ( Publisher $publisher ) : Journal
$publisher Publisher
return Journal

setSetupFinished() public method

public setSetupFinished ( boolean $setupFinished )
$setupFinished boolean

setSlug() public method

Set slug
public setSlug ( string $slug ) : Journal
$slug string
return Journal

setStatistics() public method

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

setStatus() public method

Set status
public setStatus ( integer $status ) : Journal
$status integer
return Journal

setSubtitle() public method

Set subtitle
public setSubtitle ( string $subtitle ) : Journal
$subtitle string
return Journal

setTheme() public method

Set theme
public setTheme ( Ojs\CoreBundle\Entity\ThemeInterface $theme = null ) : Journal
$theme Ojs\CoreBundle\Entity\ThemeInterface
return Journal

setTitle() public method

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

setTitleAbbr() public method

Set titleAbbr
public setTitleAbbr ( string $titleAbbr ) : Journal
$titleAbbr string
return Journal

setTitleTransliterated() public method

Set titleTransliterated
public setTitleTransliterated ( string $titleTransliterated ) : Journal
$titleTransliterated string
return Journal

setTotalArticleDownload() public method

public setTotalArticleDownload ( integer $totalArticleDownload )
$totalArticleDownload integer

setTotalArticleView() public method

public setTotalArticleView ( integer $totalArticleView )
$totalArticleView integer

setUpdated() public method

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

setUrl() public method

Set url
public setUrl ( string $url ) : Journal
$url string
return Journal

translate() public method

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

Property Details

$footerText protected property

protected string $footerText
return string

$id protected property

protected int $id
return integer

$note protected property

protected string $note
return string

$setupFinished protected property

protected bool $setupFinished
return boolean

$statuses public static property

List of Journal Status
public static array $statuses
return array

$translations protected property

protected $translations