Calendar Extension - PHP Hooks
==============================


Event Hooks
***************************************

#calendar.event.delete
	Event was deleted
	@param	Integer		$idEvent


#calendar.event.add
	Event was added
	@param	Integer		$idEvent


#calendar.event.update
	Event was updated
	@param	Integer		$idEvent
	@param	Array		$data


#calendar.event.save
	Event was saved. This hook is called for new and updated events after those hooks
	@param	Integer		$idEvent
	@param	Boolean		$isBatch		Optional: Was event saving part of a batch/series creation
	@param	Boolean		$isSeries		Optional: Is event part of a series


#calendar.event.move
	Event was moved (in time). Will also call an update event
	@param	Integer		$idEvent
	@param	Integer		$dateStart
	@param	Integer		$dateEnd


#calendar.event.assign
	Event gets assigned to a person (during add or update)
	@param	Integer		$idEvent
	@param	Integer		$idPerson


#calendar.event.acknowledge
	The person has acknowledged (seen) the event
	@param	Integer		$idEvent
	@param	Integer		$idPerson


#calendar.email.info
	An info email was sent
	@param	Integer		$idEvent
	@param	Integer		$idPerson
	@param	Integer		$operationID


#calendar.email.reminder
	A reminder email was sent (by cronjob)
	@param	Integer		$idReminder


#calendar.series.delete
	A series was deleted (and all it's future events
	@param	Integer		$idSeries


#calendar.series.events.delete
	Events of a series were deleted
	@param	Integer		$idSeries
	@param	Array		$deletedEventIDs		IDs of all events which were deleted because they were part of a series




Data modification
***************************************

#calendar.getReminderSoundFilename
	Get path to file with reminder sound
	@param	String		$pathDefaultFile
	@param	Array		$data (event)