calendar-bundle/src/Resources/contao/models/CalendarFeedModel.php
public static function findByCalendar($intId, array $arrOptions=array())
	{
		$t = static::$strTable;

		return static::findBy(array("$t.calendars LIKE '%\"" . (int) $intId . "\"%'"), null, $arrOptions);
	}
public static function findByCalendar($intId, array $arrOptions=array())
	{
		$t = static::$strTable;

		return static::findBy(array("$t.calendars LIKE '%\"" . (int) $intId . "\"%'"), null, $arrOptions);
	}
Find all feeds which include a certain calendar

@param integer $intId      The calendar ID
@param array   $arrOptions An optional options array

@return Collection|CalendarFeedModel[]|CalendarFeedModel|null A collection of models or null if the calendar is not part of a feed