uawdijnntqw1x1x1
IP : 216.73.216.155
Hostname : vm5018.vps.agava.net
Kernel : Linux vm5018.vps.agava.net 3.10.0-1127.8.2.vz7.151.14 #1 SMP Tue Jun 9 12:58:54 MSK 2020 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
var
/
www
/
iplanru
/
data
/
www
/
.
/
i-plan.ru
/
administrator
/
components
/
com_widgetkit
/
helpers
/
event.php
/
/
<?php /** * @package Widgetkit * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ /* Class: EventWidgetkitHelper Event helper class. Create and manage Events. */ class EventWidgetkitHelper extends WidgetkitHelper { /* events */ protected static $_events = array(); /* Function: bind Bind a function to an event. Parameters: $event - Event name $callback - Function callback Returns: Void */ public function bind($event, $callback) { if (!isset(self::$_events[$event])) { self::$_events[$event] = array(); } self::$_events[$event][] = $callback; } /* Function: trigger Trigger Event Parameters: $event - Event name $parameters - Function arguments Returns: Void */ public function trigger($event, $args = array()) { if (isset(self::$_events[$event])) { foreach (self::$_events[$event] as $callback) { $this->_call($callback, $args); } } } }
/var/www/iplanru/data/www/./i-plan.ru/administrator/components/com_widgetkit/helpers/event.php