class CantonSearch (View source)

Methods

__construct()

No description

mixed
findByAppreviation(string $abbreviation)

Find Canton by Abbreviation.

mixed
findByName(string $name)

Find Canton by Name.

stdClass
getDataSet()

Read JSON Data.

Details

at line line 14
__construct()

at line line 26
mixed findByAppreviation(string $abbreviation)

Find Canton by Abbreviation.

Parameters

string $abbreviation

Return Value

mixed Returns an object or null, if no canton was found

at line line 46
mixed findByName(string $name)

Find Canton by Name.

Parameters

string $name

Return Value

mixed Returns an object or null, if no canton was found

at line line 74
stdClass getDataSet()

Read JSON Data.

Return Value

stdClass