Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Joomla! plugin that fires all possible plugin events
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
class PlgSystemMasterplug extends JPlugin
{
function onUserAuthenticate()
{
error_log('onUserAuthenticate', 0);
}
function onInit()
{
error_log('onInit', 0);
}
function onDisplay()
{
error_log('onDisplay', 0);
}
function onCheckAnswer()
{
error_log('onCheckAnswer', 0);
}
function onContentPrepare()
{
error_log('onContentPrepare', 0);
}
function onContentAfterTitle()
{
error_log('onContentAfterTitle', 0);
}
function onContentBeforeDisplay()
{
error_log('onContentBeforeDisplay', 0);
}
function onContentAfterDisplay()
{
error_log('onContentAfterDisplay', 0);
}
function onContentBeforeSave()
{
error_log('onContentBeforeSave', 0);
}
function onContentAfterSave()
{
error_log('onContentAfterSave', 0);
}
function onContentPrepareForm()
{
error_log('onContentPrepareForm', 0);
}
function onContentBeforeDelete()
{
error_log('onContentBeforeDelete', 0);
}
function onContentAfterDelete()
{
error_log('onContentAfterDelete', 0);
}
function onContentChangeState()
{
error_log('onContentChangeState', 0);
}
function onContentSearch()
{
error_log('onContentSearch', 0);
}
function onContentSearchAreas()
{
error_log('onContentSearchAreas', 0);
}
function onSave()
{
error_log('onSave', 0);
}
function onSetContent()
{
error_log('onSetContent', 0);
}
function onGetContent()
{
error_log('onGetContent', 0);
}
function onGetInsertMethod()
{
error_log('onGetInsertMethod', 0);
}
function onExtensionAfterInstall()
{
error_log('onExtensionAfterInstall', 0);
}
function onExtensionAfterUninstall()
{
error_log('onExtensionAfterUninstall', 0);
}
function onExtensionAfterUpdate()
{
error_log('onExtensionAfterUpdate', 0);
}
function onFinderCategoryChangeState()
{
error_log('OnFinderCategoryChangeState', 0);
}
function onFinderChangeState()
{
error_log('onFinderChangeState', 0);
}
function onFinderBeforeDelete()
{
error_log('onFinderBeforeDelete', 0);
}
function onFinderAfterDelete()
{
error_log('onFinderAfterDelete', 0);
}
function onFinderBeforeSave()
{
error_log('onFinderBeforeSave', 0);
}
function onFinderAfterSave()
{
error_log('onFinderAfterSave', 0);
}
function onGetIcons()
{
error_log('onGetIcons', 0);
}
function onAfterInitialise()
{
error_log('onAfterInitialise', 0);
}
function onAfterRoute()
{
error_log('onAfterRoute', 0);
}
function onAfterRender()
{
error_log('onAfterRender', 0);
}
function onBeforeRender()
{
error_log('onBeforeRender', 0);
}
function onBeforeCompileHead()
{
error_log('onBeforeCompileHead', 0);
}
function onSearch()
{
error_log('onSearch', 0);
}
function onSearchAreas()
{
error_log('onSearchAreas', 0);
}
function onGetWebServices()
{
error_log('onGetWebServices', 0);
}
function onUserBeforeSave()
{
error_log('onUserBeforeSave', 0);
}
function onUserAfterSave()
{
error_log('onUserAfterSave', 0);
}
function onUserBeforeDelete()
{
error_log('onUserBeforeDelete', 0);
}
function onUserAfterDelete()
{
error_log('onUserAfterDelete', 0);
}
function onUserLogin()
{
error_log('onUserLogin', 0);
}
function onUserLogout()
{
error_log('onUserLogout', 0);
}
function onUserAuthorisation()
{
error_log('onUserAuthorisation', 0);
}
function onValidateContact()
{
error_log('onValidateContact', 0);
}
function onSubmitContact()
{
error_log('onSubmitContact', 0);
}
function onInstallerBeforeInstallation()
{
error_log('onInstallerBeforeInstallation', 0);
}
function onInstallerBeforeInstaller()
{
error_log('onInstallerBeforeInstaller', 0);
}
function onInstallerAfterInstaller()
{
error_log('onInstallerAfterInstaller', 0);
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment