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