first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace PixelYourSite;
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
class GroupedEvent extends PYSEvent
|
||||
{
|
||||
private $events = array();
|
||||
public function __construct($id, $type,$category='') {
|
||||
parent::__construct($id, $type,$category);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param PYSEvent $event
|
||||
*/
|
||||
public function addEvent($event) {
|
||||
$this->events[] = $event;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return PYSEvent[]
|
||||
*/
|
||||
public function getEvents() {
|
||||
return $this->events;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user