RegionsManager has API functions to handle Region object/s and delivers it through web application.
◆ __construct()
| RegionsManager::__construct |
( |
mysqli |
$mysqli | ) |
|
◆ FindAllRegions()
| RegionsManager::FindAllRegions |
( |
| ) |
|
Find all regions in under administration.
- Returns
- array<Region>
◆ GetRegionByID()
| RegionsManager::GetRegionByID |
( |
|
$regionID | ) |
|
Return Region provided its id.
- Parameters
-
- Returns
- Region|null
◆ GetRegionNameOfClub()
| RegionsManager::GetRegionNameOfClub |
( |
|
$regionID | ) |
|
Return name of Region in which Club is located.
- Parameters
-
- Returns
- string
◆ InsertNewRegion()
| RegionsManager::InsertNewRegion |
( |
|
$name, |
|
|
|
$abbrev |
|
) |
| |
Insert new Region into the web application.
- Parameters
-
| string | $name | |
| string | $abbrev | |
- Returns
- bool
◆ UpdateRegion()
| RegionsManager::UpdateRegion |
( |
|
$id, |
|
|
|
$name, |
|
|
|
$abbrev |
|
) |
| |
Update already existing Region in the web application.
- Parameters
-
| int | $id | |
| string | $name | |
| string | $abbrev | |
- Returns
- bool
The documentation for this class was generated from the following file: