CWP\CWP\PageTypes\DatedUpdateHolder::AllUpdates
Find all site's updates, based on some filters.
Omitting parameters will prevent relevant filters from being applied. The filters are ANDed together.
Signature
public function AllUpdates([string
$className = DatedUpdatePage::class,
[int|null
$parentID = NULL,
[int|null
$tagID = NULL,
[string|null
$dateFrom = NULL,
[string|null
$dateTo = NULL,
[int|null
$year = NULL,
[int|null
$monthNumber = NULL]]]]]]] )
Parameters
$className
— string- The name of the class to fetch.
$parentID
— object- The ID of the holder to extract the updates from.
$tagID
— object- The ID of the tag to filter the updates by.
$dateFrom
— object- The beginning of a date filter range.
$dateTo
— object- The end of the date filter range. If empty, only one day will be searched for.
$year
— object- Numeric value of the year to show.
$monthNumber
— object- Numeric value of the month to show.