Detailed Description
Formates one SingleDate object or a series of SingleDate objects into a nice format.
Member Function Documentation
static formatDateAndRoom |
( |
|
$date, |
|
|
|
$return_mode = 'string' |
|
) |
| |
|
static |
Formats one single date into a nice format.
- Parameters
-
| $date | SingleDate object |
string | $return_mode | expected values are 'int', 'string' and 'export'. The default value is 'string'. |
- Returns
- string
static formatDateWithAllRooms |
( |
|
$dates, |
|
|
|
$return_mode = 'string' |
|
) |
| |
|
static |
Formats a series of SingleDate objects into a nice format. The dates parameter is an array of dates. The array has to have the key 'termin' with an array of SingleDate objects as value.
- Parameters
-
| $dates | an array with an array of SingleDate objects |
string | $return_mode | expected values are 'int', 'string' and 'export'. The default value is 'string'. |
- Returns
- string
The documentation for this class was generated from the following file: