PHP Class Ojs\JournalBundle\Entity\Institution

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

Protected Properties

Property Type Description
$id integer
$translations

Public Methods

Method Description
__construct ( )
__toString ( )
addChild ( Institution $children ) Add children
getAbout ( ) : string Get about
getAddress ( ) : string Get address
getAddressLat ( ) : string Get addressLat
getAddressLong ( ) : string Get addressLong
getChildren ( )
getCity ( ) : string Get city
getCountry ( ) : BulutYazilim\LocationBundle\Entity\Country Get country
getDomain ( ) : string
getEmail ( ) : string Get email
getFax ( ) : string Get fax
getHeader ( ) : string
getId ( ) : integer Get id
getInstitutionContacts ( ) : ArrayCollection
getInstitutionType ( ) : integer
getLft ( ) : integer Get lft
getLogo ( ) : string Get logo
getLvl ( ) : Institution Get lvl
getName ( ) : string Get name
getParent ( )
getPhone ( ) : string Get phone
getRgt ( ) : integer Get rgt
getRoot ( )
getSlug ( ) : string
getUrl ( ) : string Get url
getWiki ( ) : string Get wiki
removeChild ( Institution $children ) Remove children
setAbout ( string $about ) Set about
setAddress ( string $address ) Set address
setAddressLat ( string $addressLat ) Set addressLat
setAddressLong ( string $addressLong ) Set addressLong
setCity ( string $city = null ) Set city
setCountry ( BulutYazilim\LocationBundle\Entity\Country $country = null ) Set country
setDomain ( string $domain )
setEmail ( string $email ) Set email
setFax ( string $fax ) Set fax
setHeader ( string $header )
setInstitutionContacts ( ArrayCollection $institutionContacts )
setInstitutionType ( PublisherTypes $institutionType )
setLft ( integer $lft ) Set lft
setLogo ( string $logo ) Set logo
setLvl ( integer $lvl ) Set lvl
setName ( string $name ) Set name
setParent ( Institution $parent = null )
setPhone ( string $phone ) Set phone
setRgt ( integer $rgt ) Set rgt
setRoot ( integer $root ) Set root
setSlug ( mixed $slug )
setUrl ( string $url ) Set url
setWiki ( string $wiki ) Set wiki
translate ( null $locale = null ) : mixed | null | Ojs\JournalBundle\Entity\InstitutionTranslation Translation helper method

Method Details

__construct() public method

public __construct ( )

__toString() public method

public __toString ( )

addChild() public method

Add children
public addChild ( Institution $children )
$children Institution

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

getChildren() public method

public getChildren ( )

getCity() public method

Get city
public getCity ( ) : string
return string

getCountry() public method

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

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

getInstitutionContacts() public method

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

getInstitutionType() public method

public getInstitutionType ( ) : integer
return integer

getLft() public method

Get lft
public getLft ( ) : integer
return integer

getLvl() public method

Get lvl
public getLvl ( ) : Institution
return Institution

getName() public method

Get name
public getName ( ) : string
return string

getParent() public method

public getParent ( )

getPhone() public method

Get phone
public getPhone ( ) : string
return string

getRgt() public method

Get rgt
public getRgt ( ) : integer
return integer

getRoot() public method

public getRoot ( )

getSlug() public method

public getSlug ( ) : string
return string

getUrl() public method

Get url
public getUrl ( ) : string
return string

getWiki() public method

Get wiki
public getWiki ( ) : string
return string

removeChild() public method

Remove children
public removeChild ( Institution $children )
$children Institution

setAbout() public method

Set about
public setAbout ( string $about )
$about string

setAddress() public method

Set address
public setAddress ( string $address )
$address string

setAddressLat() public method

Set addressLat
public setAddressLat ( string $addressLat )
$addressLat string

setAddressLong() public method

Set addressLong
public setAddressLong ( string $addressLong )
$addressLong string

setCity() public method

Set city
public setCity ( string $city = null )
$city string

setCountry() public method

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

setDomain() public method

public setDomain ( string $domain )
$domain string

setEmail() public method

Set email
public setEmail ( string $email )
$email string

setFax() public method

Set fax
public setFax ( string $fax )
$fax string

setHeader() public method

public setHeader ( string $header )
$header string

setInstitutionContacts() public method

public setInstitutionContacts ( ArrayCollection $institutionContacts )
$institutionContacts Doctrine\Common\Collections\ArrayCollection

setInstitutionType() public method

public setInstitutionType ( PublisherTypes $institutionType )
$institutionType PublisherTypes

setLft() public method

Set lft
public setLft ( integer $lft )
$lft integer

setLvl() public method

Set lvl
public setLvl ( integer $lvl )
$lvl integer

setName() public method

Set name
public setName ( string $name )
$name string

setParent() public method

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

setPhone() public method

Set phone
public setPhone ( string $phone )
$phone string

setRgt() public method

Set rgt
public setRgt ( integer $rgt )
$rgt integer

setRoot() public method

Set root
public setRoot ( integer $root )
$root integer

setSlug() public method

public setSlug ( mixed $slug )
$slug mixed

setUrl() public method

Set url
public setUrl ( string $url )
$url string

setWiki() public method

Set wiki
public setWiki ( string $wiki )
$wiki string

translate() public method

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

Property Details

$id protected_oe property

protected int $id
return integer

$translations protected_oe property

protected $translations