Core PHP Hooks
===================================================

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

#core.login
	Person has logged in successfully
	@param	Integer		$idPerson


#core.logout
	Current person has logged out


#core.clearCache
	Cache was cleared


#core.loadconfig.{EXT}.{TYPE}
	An extension config file was loaded automatically
	Example: core.loadconfig.project.asset


#core.renderPage
	Before page is rendered. You still can modify the page at this point


#core.removeCacheRecord
	Record object was removed from cache
	@param	String		$className
	@param	Integer		$idRecord
	@param	String		$cacheKey


#core.removeCacheQuery
	Record query was removed from cache
	@param	String		$table
	@param	Integer		$idRecord
	@param	String		$cacheKey


#core.record.add
	A record was added to the database
	@param	String		$table
	@param	Integer		$idRecord


#core.record.update
	A record was updated in the database
	@param	String		$table
	@param	Integer		$idRecord
	@param	Array		$data


#core.record.delete
	A record was deleted in the database
	@param	String		$table
	@param	Integer		$idRecord




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

#core.requestVars
	Modify request vars before the action dispatcher handles them
	@param	Array		$requestVars	[datavar]


#core.javascript.config
	Collect data for dynamic javascript user config file
	@param	Integer		$idPerson		[datavar]


#core.mail.construct
	Modify basic configuration for mail object
	@param	Array		$config			[datavar]


#core.mail.setHeadline
	Modify headline of email
	@param	String		$headline		[datavar]


#core.mail.setSubject
	Modify subject of email
	@param	String		$subject		[datavar]


#core.mail.addReceiver.email
	Check receiver email. If return value is false, the address will not be added to the receiver list
	@param	String		$email			[datavar]
	@param	Integer		$idPerson
	@param	TodoyuMail	$mail


#core.mail.addReceiver.fullname
	Modify full name of email receiver
	@param	String		$fullname		[datavar]
	@param	Integer		$idPerson
	@param	TodoyuMail	$mail