PHP Class Newscoop\NewscoopBundle\Entity\CityLocations

Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$city_type string
$elevation string
$id integer
$population integer
$position
$time_zone string

Public Methods

Method Description
__construct ( )
getCityType ( ) : string Get city_type
getElevation ( ) : integer Get elevation
getId ( ) : integer Get id
getPopulation ( ) : integer Get population
getPosition ( ) : Point Get position
getTimeZone ( ) : string Get time zone
setCityType ( string $city_type ) Set city_type
setElevation ( $elevation ) : integer Set elevation
setPopulation ( $population ) : integer Set population
setPosition ( Point $position ) : Point Set position
setTimeZone ( $time_zone ) : string Set time zone

Method Details

__construct() public method

public __construct ( )

getCityType() public method

Get city_type
public getCityType ( ) : string
return string

getElevation() public method

Get elevation
public getElevation ( ) : integer
return integer

getId() public method

Get id
public getId ( ) : integer
return integer

getPopulation() public method

Get population
public getPopulation ( ) : integer
return integer

getPosition() public method

Get position
public getPosition ( ) : Point
return Newscoop\NewscoopBundle\ORM\Point

getTimeZone() public method

Get time zone
public getTimeZone ( ) : string
return string

setCityType() public method

Set city_type
public setCityType ( string $city_type )
$city_type string

setElevation() public method

Set elevation
public setElevation ( $elevation ) : integer
return integer $elevation

setPopulation() public method

Set population
public setPopulation ( $population ) : integer
return integer $population

setPosition() public method

Set position
public setPosition ( Point $position ) : Point
$position Newscoop\NewscoopBundle\ORM\Point
return Newscoop\NewscoopBundle\ORM\Point $position

setTimeZone() public method

Set time zone
public setTimeZone ( $time_zone ) : string
return string $time_zone

Property Details

$city_type protected property

protected string $city_type
return string

$elevation protected property

protected string $elevation
return string

$id protected property

protected int $id
return integer

$population protected property

protected int $population
return integer

$position protected property

protected $position

$time_zone protected property

protected string $time_zone
return string