class CantonSearch (View source)

Properties

protected stdClass $data Data Set used to search a Canton.

Methods

__construct()

No description

mixed
findByAppreviation(string $abbreviation)

Find Canton by Abbreviation.

mixed
findByName(string $name)

Find Canton by Name.

Details

__construct()

mixed findByAppreviation(string $abbreviation)

Find Canton by Abbreviation.

Parameters

string $abbreviation

Return Value

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

mixed findByName(string $name)

Find Canton by Name.

Parameters

string $name

Return Value

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