mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
initial import
This commit is contained in:
24
lib/classes/event.class.php
Normal file
24
lib/classes/event.class.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
abstract class event
|
||||
{
|
||||
protected $events = array();
|
||||
|
||||
protected $group = null;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function get_group()
|
||||
{
|
||||
return $this->group;
|
||||
}
|
||||
|
||||
public function get_events()
|
||||
{
|
||||
return $this->events;
|
||||
}
|
||||
|
||||
abstract public function fire($event,$params,&$object);
|
||||
}
|
Reference in New Issue
Block a user