Static Protected Member Functions |
static | _get ($source, $period) |
| Metoda pro výběr dat z polí dle periody.
|
Member Function Documentation
static period::_get |
( |
|
$source, |
|
|
|
$period |
|
) |
| |
|
staticprotected |
Metoda pro výběr dat z polí dle periody.
- Parameters
-
| array[string] | $source |
integer | $period | |
- Returns
- string
- Exceptions
-
InvalidArgumentException | Při chybné periodě |
static period::get_name |
( |
|
$period | ) |
|
|
static |
Získá celé jméno periody.
- Parameters
-
integer | $period | Konstanty PEAK_HOURS, OUT_PEAK_HOURS, WEEKEND |
- Returns
- string Jméno periody
- Exceptions
-
InvalidArgumentException | Při chybné periodě |
static period::get_short_cut |
( |
|
$period | ) |
|
|
static |
Získá zkratku periody.
- Parameters
-
integer | $period | Konstanty PEAK_HOURS, OUT_PEAK_HOURS, WEEKEND |
- Returns
- string Zkratka
- Exceptions
-
InvalidArgumentException | Při chybné periodě |
static period::is_valid |
( |
|
$period | ) |
|
|
static |
Kontroluje zda-li je perioda platná
- Parameters
-
- Returns
- boolean
The documentation for this class was generated from the following file: