PHP Class Ojs\JournalBundle\Entity\Publisher

Inheritance: extends Prezent\Doctrine\Translatable\Entity\AbstractTranslatable, use trait Ojs\CoreBundle\Entity\GenericEntityTrait
ファイルを表示 Open project: ojs/ojs Class Usage Examples

Public Properties

Property Type Description
$statuses array List of Publisher Status

Protected Properties

Property Type Description
$id integer
$translations

Public Methods

Method Description
__construct ( )
__toString ( )
addChild ( Publisher $child ) : Publisher Add children
addJournal ( Journal $journal ) : Publisher Add journal
addPublisherManager ( User $publisherManager ) : Publisher Add publisherManager
addPublisherThemes ( PublisherTheme $publisherTheme ) : Publisher
getAbout ( ) : string Get about
getAddress ( ) : string Get address
getAddressLat ( ) : string Get addressLat
getAddressLong ( ) : string Get addressLong
getAnnotatedPublisher ( ) : string
getChildren ( ) : ArrayCollection | Publisher[]
getCity ( ) : BulutYazilim\LocationBundle\Entity\Province Get city
getCountry ( ) : BulutYazilim\LocationBundle\Entity\Country Get country
getDesign ( ) : Ojs\JournalBundle\Entity\PublisherDesign
getDomain ( ) : string
getEmail ( ) : string Get email
getFax ( ) : string Get fax
getHeader ( ) : string
getId ( ) : integer Get id
getJournals ( ) : ArrayCollection | Journal[] Get journals
getLft ( ) : integer Get lft
getLogo ( ) : string Get logo
getLvl ( ) : Publisher Get lvl
getName ( ) : string Get name
getNameTranslations ( ) : string Get name
getParent ( ) : Publisher
getPhone ( ) : string Get phone
getPublisherDesigns ( ) : Ojs\JournalBundle\Entity\PublisherDesign[] | ArrayCollection
getPublisherManagers ( ) : ArrayCollection | User[] Get publisherManagers
getPublisherThemes ( ) : ArrayCollection | PublisherTheme[]
getPublisherType ( ) : PublisherTypes
getRgt ( ) : integer Get rgt
getRoot ( ) : mixed
getSlug ( ) : string
getStatus ( ) : integer
getStatusText ( ) : string
getTheme ( ) : PublisherTheme Get theme
getUrl ( ) : string Get url
getWiki ( ) : string Get wiki
isIndexable ( ) : boolean
isVerified ( ) : boolean
removeChild ( Publisher $child ) : Publisher Remove children
removeJournal ( Journal $journal ) : Publisher Remove journal
removePublisherManager ( User $publisherManager ) : Publisher Remove publisherManager
removePublisherThemes ( PublisherTheme $publisherTheme ) : Publisher
setAbout ( string $about ) : Publisher Set about
setAddress ( string $address ) : Publisher Set address
setAddressLat ( string $addressLat ) : Publisher Set addressLat
setAddressLong ( string $addressLong ) : Publisher Set addressLong
setCity ( BulutYazilim\LocationBundle\Entity\Province $city = null ) : Publisher Set city
setCountry ( BulutYazilim\LocationBundle\Entity\Country $country = null ) : Publisher Set country
setCreated ( DateTime $created ) : Publisher Set created
setDesign ( Ojs\JournalBundle\Entity\PublisherDesign $design )
setDomain ( string $domain ) : Publisher
setEmail ( string $email ) : Publisher Set email
setFax ( string $fax ) : Publisher Set fax
setHeader ( string $header ) : Publisher
setLft ( integer $lft ) : Publisher Set lft
setLogo ( string $logo ) : Publisher Set logo
setLvl ( integer $lvl ) : Publisher Set lvl
setName ( string $name ) : Publisher Set name
setParent ( Publisher $parent = null )
setPhone ( string $phone ) : Publisher Set phone
setPublisherDesigns ( Ojs\JournalBundle\Entity\PublisherDesign[] | ArrayCollection $publisherDesigns )
setPublisherType ( PublisherTypes $publisherType ) : Publisher
setRgt ( integer $rgt ) : Publisher Set rgt
setRoot ( integer $root ) : Publisher Set root
setSlug ( mixed $slug ) : Publisher
setStatus ( integer $status )
setTheme ( PublisherTheme $theme ) : Publisher Set theme
setUpdated ( DateTime $updated ) : Publisher Set updated
setUrl ( string $url ) : Publisher Set url
setVerified ( boolean $verified )
setWiki ( string $wiki ) : Publisher Set wiki
translate ( null $locale = null ) : mixed | null | PublisherTranslation Translation helper method

Method Details

__construct() public method

public __construct ( )

__toString() public method

public __toString ( )

addChild() public method

Add children
public addChild ( Publisher $child ) : Publisher
$child Publisher
return Publisher

addJournal() public method

Add journal
public addJournal ( Journal $journal ) : Publisher
$journal Journal
return Publisher

addPublisherManager() public method

Add publisherManager
public addPublisherManager ( User $publisherManager ) : Publisher
$publisherManager Ojs\UserBundle\Entity\User
return Publisher

addPublisherThemes() public method

public addPublisherThemes ( PublisherTheme $publisherTheme ) : Publisher
$publisherTheme PublisherTheme
return Publisher

getAbout() public method

Get about
public getAbout ( ) : string
return string

getAddress() public method

Get address
public getAddress ( ) : string
return string

getAddressLat() public method

Get addressLat
public getAddressLat ( ) : string
return string

getAddressLong() public method

Get addressLong
public getAddressLong ( ) : string
return string

getAnnotatedPublisher() public method

public getAnnotatedPublisher ( ) : string
return string

getChildren() public method

public getChildren ( ) : ArrayCollection | Publisher[]
return Doctrine\Common\Collections\ArrayCollection | Publisher[]

getCity() public method

Get city
public getCity ( ) : BulutYazilim\LocationBundle\Entity\Province
return BulutYazilim\LocationBundle\Entity\Province

getCountry() public method

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

getDesign() public method

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

getDomain() public method

public getDomain ( ) : string
return string

getEmail() public method

Get email
public getEmail ( ) : string
return string

getFax() public method

Get fax
public getFax ( ) : string
return string

getHeader() public method

public getHeader ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getJournals() public method

Get journals
public getJournals ( ) : ArrayCollection | Journal[]
return Doctrine\Common\Collections\ArrayCollection | Journal[]

getLft() public method

Get lft
public getLft ( ) : integer
return integer

getLvl() public method

Get lvl
public getLvl ( ) : Publisher
return Publisher

getName() public method

Get name
public getName ( ) : string
return string

getNameTranslations() public method

Get name
public getNameTranslations ( ) : string
return string

getParent() public method

public getParent ( ) : Publisher
return Publisher

getPhone() public method

Get phone
public getPhone ( ) : string
return string

getPublisherDesigns() public method

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

getPublisherManagers() public method

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

getPublisherThemes() public method

public getPublisherThemes ( ) : ArrayCollection | PublisherTheme[]
return Doctrine\Common\Collections\ArrayCollection | PublisherTheme[]

getPublisherType() public method

public getPublisherType ( ) : PublisherTypes
return PublisherTypes

getRgt() public method

Get rgt
public getRgt ( ) : integer
return integer

getRoot() public method

public getRoot ( ) : mixed
return mixed

getSlug() public method

public getSlug ( ) : string
return string

getStatus() public method

public getStatus ( ) : integer
return integer

getStatusText() public method

public getStatusText ( ) : string
return string

getTheme() public method

Get theme
public getTheme ( ) : PublisherTheme
return PublisherTheme

getUrl() public method

Get url
public getUrl ( ) : string
return string

getWiki() public method

Get wiki
public getWiki ( ) : string
return string

isIndexable() public method

public isIndexable ( ) : boolean
return boolean

isVerified() public method

public isVerified ( ) : boolean
return boolean

removeChild() public method

Remove children
public removeChild ( Publisher $child ) : Publisher
$child Publisher
return Publisher

removeJournal() public method

Remove journal
public removeJournal ( Journal $journal ) : Publisher
$journal Journal
return Publisher

removePublisherManager() public method

Remove publisherManager
public removePublisherManager ( User $publisherManager ) : Publisher
$publisherManager Ojs\UserBundle\Entity\User
return Publisher

removePublisherThemes() public method

public removePublisherThemes ( PublisherTheme $publisherTheme ) : Publisher
$publisherTheme PublisherTheme
return Publisher

setAbout() public method

Set about
public setAbout ( string $about ) : Publisher
$about string
return Publisher

setAddress() public method

Set address
public setAddress ( string $address ) : Publisher
$address string
return Publisher

setAddressLat() public method

Set addressLat
public setAddressLat ( string $addressLat ) : Publisher
$addressLat string
return Publisher

setAddressLong() public method

Set addressLong
public setAddressLong ( string $addressLong ) : Publisher
$addressLong string
return Publisher

setCity() public method

Set city
public setCity ( BulutYazilim\LocationBundle\Entity\Province $city = null ) : Publisher
$city BulutYazilim\LocationBundle\Entity\Province
return Publisher

setCountry() public method

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

setCreated() public method

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

setDesign() public method

public setDesign ( Ojs\JournalBundle\Entity\PublisherDesign $design )
$design Ojs\JournalBundle\Entity\PublisherDesign

setDomain() public method

public setDomain ( string $domain ) : Publisher
$domain string
return Publisher

setEmail() public method

Set email
public setEmail ( string $email ) : Publisher
$email string
return Publisher

setFax() public method

Set fax
public setFax ( string $fax ) : Publisher
$fax string
return Publisher

setHeader() public method

public setHeader ( string $header ) : Publisher
$header string
return Publisher

setLft() public method

Set lft
public setLft ( integer $lft ) : Publisher
$lft integer
return Publisher

setLvl() public method

Set lvl
public setLvl ( integer $lvl ) : Publisher
$lvl integer
return Publisher

setName() public method

Set name
public setName ( string $name ) : Publisher
$name string
return Publisher

setParent() public method

public setParent ( Publisher $parent = null )
$parent Publisher

setPhone() public method

Set phone
public setPhone ( string $phone ) : Publisher
$phone string
return Publisher

setPublisherDesigns() public method

public setPublisherDesigns ( Ojs\JournalBundle\Entity\PublisherDesign[] | ArrayCollection $publisherDesigns )
$publisherDesigns Ojs\JournalBundle\Entity\PublisherDesign[] | Doctrine\Common\Collections\ArrayCollection

setPublisherType() public method

public setPublisherType ( PublisherTypes $publisherType ) : Publisher
$publisherType PublisherTypes
return Publisher

setRgt() public method

Set rgt
public setRgt ( integer $rgt ) : Publisher
$rgt integer
return Publisher

setRoot() public method

Set root
public setRoot ( integer $root ) : Publisher
$root integer
return Publisher

setSlug() public method

public setSlug ( mixed $slug ) : Publisher
$slug mixed
return Publisher

setStatus() public method

public setStatus ( integer $status )
$status integer

setTheme() public method

Set theme
public setTheme ( PublisherTheme $theme ) : Publisher
$theme PublisherTheme
return Publisher

setUpdated() public method

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

setUrl() public method

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

setVerified() public method

public setVerified ( boolean $verified )
$verified boolean

setWiki() public method

Set wiki
public setWiki ( string $wiki ) : Publisher
$wiki string
return Publisher

translate() public method

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

Property Details

$id protected_oe property

protected int $id
return integer

$statuses public_oe static_oe property

List of Publisher Status
public static array $statuses
return array

$translations protected_oe property

protected $translations