EventHolder
class EventHolder extends DatedUpdateHolder (View source)
Properties
Methods
Find all distinct tags (TaxonomyTerms) associated with the DatedUpdatePages under this holder.
Wrapper to find all updates belonging to this holder, based on some filters.
Find all site's news items, based on some filters.
Produce an ArrayList of available months out of the updates contained in the DataList.
Details
UpdateTags()
Find all distinct tags (TaxonomyTerms) associated with the DatedUpdatePages under this holder.
Updates($tagID = null, $dateFrom = null, $dateTo = null, $year = null, $monthNumber = null)
Wrapper to find all updates belonging to this holder, based on some filters.
static
AllUpdates(string $className = 'Events', int|null $parentID = null, int|null $tagID = null, string|null $dateFrom = null, string|null $dateTo = null, int|null $year = null, int|null $monthNumber = null)
Find all site's news items, based on some filters.
Omitting parameters will prevent relevant filters from being applied. The filters are ANDed together.
static
ExtractMonths(DataList $updates, string $link = null, int $currentYear = null, int $currentMonthNumber = null)
Produce an ArrayList of available months out of the updates contained in the DataList.
Here is an example of the returned structure: ArrayList: ArrayData: YearName => 2013 Months => ArrayList: MonthName => Jan MonthNumber => 1 MonthLink => (page URL)year=2012&month=1 Active => true ArrayData: YearName => 2012 Months => ArrayList: ...
getDefaultRSSLink()
No description
getDefaultAtomLink()
No description
getSubscriptionTitle()
No description