newbie LAC Posted September 28, 2018 Posted September 28, 2018 Hello, Please add the ability to specify multiple venues as you did for $calendar /** * Retrieve events to show based on a provided start and end date, optionally filtering by a supplied calendar * * @param \IPS\calendar\Date $startDate Date to start from * @param \IPS\calendar\Date|NULL $endDate Cut off date for events. NULL accepted as a possible value only if $formatEvents is set to FALSE. * @param \IPS\calendar\Calendar|NULL|array $calendar Calendar to filter by * @param int|null $limit Maximum number of events to return (only supported when not formatting events) * @param bool $formatEvents Whether or not to format events into a structured array * @param \IPS\Member $member The member (NULL to use currently logged in member) * @param \IPS\calendar\Venue $venue The venue to filter by (if provided) * @return \IPS\Patterns\ActiveRecordIterator * @throws \InvalidArgumentException * @see \IPS\Content\_Item::getItemsWithPermission() */ public static function retrieveEvents( $startDate, $endDate=NULL, $calendar=NULL, $limit=NULL, $formatEvents=TRUE, $member=NULL, $venue=NULL )
Recommended Posts
Archived
This topic is now archived and is closed to further replies.