◆ deleteNewerSingleDates()
static deleteNewerSingleDates |
( |
|
$metadate_id, |
|
|
|
$timestamp |
|
) |
| |
|
static |
Deletes all dates that are newer then the passed date for metadate with the passed id
- Parameters
-
string | $metadate_id | |
int | $timestamp | |
- Returns
- int number of deleted singledates
◆ getFirstDate()
static getFirstDate |
( |
|
$metadate_id | ) |
|
|
static |
returns the first date for a given metadate_id as array
- Parameters
-
- Returns
- array
◆ getFreeTextPredominantRoomDB()
static getFreeTextPredominantRoomDB |
( |
|
$metadate_id, |
|
|
|
$filterStart = 0 , |
|
|
|
$filterEnd = 0 |
|
) |
| |
|
static |
Returns the list of freetext rooms ordered by number of appearance in the metadate with the passed id
- Parameters
-
| [type] | $metadate_id |
integer | $filterStart | |
integer | $filterEnd | |
- Returns
- array [freetex, number_of_appearances]
◆ getLastDate()
static getLastDate |
( |
|
$metadate_id | ) |
|
|
static |
returns the last date for a given metadate_id as array
- Parameters
-
- Returns
- array
◆ getPredominantRoomDB()
static getPredominantRoomDB |
( |
|
$metadate_id, |
|
|
|
$filterStart = 0 , |
|
|
|
$filterEnd = 0 |
|
) |
| |
|
static |
Returns the list of booked rooms ordered by number of appearance in the metadate with the passed id
- Parameters
-
string | $metadate_id | |
integer | $filterStart | |
integer | $filterEnd | |
- Returns
- array [resource_id, number_of_appearances]
◆ getTermine()
static getTermine |
( |
|
$metadate_id, |
|
|
|
$start = 0 , |
|
|
|
$end = 0 |
|
) |
| |
|
static |
Returns sorted array of all dates belonging to the passed metadate, optionally filtered by start- and end-date
- Parameters
-
string | $metadate_id | |
integer | $start | |
integer | $end | |
- Returns
- array
◆ sort_dates()
static sort_dates |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: