\shop\shopware5\modelCountryState

Summary

Methods
Properties
Constants
__construct()
setMetaDataFromShop()
isEmpty()
format()
getId()
setId()
getCountryId()
setCountryId()
getPosition()
setPosition()
getName()
setName()
getShortCode()
setShortCode()
isActive()
setActive()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  $data,   $dataSource = 'PLAIN') 

Parameters

$data
$dataSource

setMetaDataFromShop()

setMetaDataFromShop(  $metaData) 

Parameters

$metaData

isEmpty()

isEmpty() 

format()

format(  $dataDestination) 

Parameters

$dataDestination

getId()

getId() : integer

Returns

integer —

(primary key)

setId()

setId(  $val) 

Parameters

$val

getCountryId()

getCountryId() : integer

Returns

integer —

(foreign key) Country

setCountryId()

setCountryId(  $val) 

Parameters

$val

getPosition()

getPosition() : integer

Returns

integer

setPosition()

setPosition(  $val) 

Parameters

$val

getName()

getName() : string

Returns

string

setName()

setName(  $val) 

Parameters

$val

getShortCode()

getShortCode() : string

Returns

string

setShortCode()

setShortCode(  $val) 

Parameters

$val

isActive()

isActive() : boolean

Returns

boolean

setActive()

setActive(  $val) 

Parameters

$val