%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 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 : /proc/thread-self/root/var/www/html/old/libraries/kunena/activity/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Framework
* @subpackage Activity
*
* @copyright (C) 2008 - 2014 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die ();
/**
* Class KunenaActivity
*
* @since 2.0
*/
class KunenaActivity
{
/**
* Triggered before posting a new topic.
*
* @param $message
*/
public function onBeforePost($message) {}
/**
* Triggered after posting a new topic.
*
* @param $message
*/
public function onAfterPost($message) {}
/**
* Triggered before replying to a topic.
*
* @param $message
*/
public function onBeforeReply($message) {}
/**
* Triggered after replying to a topic.
*
* @param $message
*/
public function onAfterReply($message) {}
/**
* Triggered before editing a post.
*
* @param $message
*/
public function onBeforeEdit($message) {}
/**
* Triggered after editing a post.
*
* @param $message
*/
public function onAfterEdit($message) {}
/** TODO: Looks like these aren't fully working.. */
public function onAfterDelete($message) {}
public function onAfterUndelete($message) {}
public function onAfterDeleteTopic($message) {}
/**
* Triggered after (un)subscribing a topic.
*
* @param int $topicid Topic Id.
* @param int $action 1 = subscribe, 0 = unsuscribe.
*/
public function onAfterSubscribe($topicid, $action) {}
/**
* Triggered after (un)favoriting a topic.
*
* @param int $topicid Topic Id.
* @param int $action 1 = favorite, 0 = unfavorite.
*/
public function onAfterFavorite($topicid, $action) {}
/**
* Triggered after (un)stickying a topic.
*
* @param int $topicid Topic Id.
* @param int $action 1 = sticky, 0 = unsticky.
*/
public function onAfterSticky($topicid, $action) {}
/**
* Triggered after (un)locking a topic.
*
* @param int $topicid Topic Id.
* @param int $action 1 = lock, 0 = unlock.
*/
public function onAfterLock($topicid, $action) {}
/**
* Triggered after giving thankyou to a message.
*
* @param int $actor Actor user Id (usually current user).
* @param int $target Target user Id.
* @param int $message Message Id.
*/
public function onAfterThankyou($actor, $target, $message) {}
/**
* Triggered after removing thankyou from a message.
*
* @param int $actor Actor user Id (usually current user).
* @param int $target Target user Id.
* @param int $message Message Id.
*/
public function onAfterUnThankyou($actor, $target, $message) {}
/**
* Triggered after changing user karma.
*
* @param int $target Target user Id.
* @param int $actor Actor user Id (usually current user).
* @param int $delta Points added / removed.
*/
public function onAfterKarma($target, $actor, $delta) {}
/**
* Get list of medals.
*
* @param $userid
*
* @return void
*/
public function getUserMedals($userid) {}
/**
* Get user points.
*
* @param int $userid
*
* @return int|void Number of points.
*/
public function getUserPoints($userid) {}
}