芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/views/Event.zip
PK qYӗb DisplayProfileLoadedEvent.phpnu [ displayProfile = $displayProfile; } /** * @return DisplayProfile */ public function getDisplayProfile() { return $this->displayProfile; } }PK qY LibraryReplaceEvent.phpnu [ . */ namespace Xibo\Event; use Xibo\Entity\Media; use Xibo\Widget\ModuleWidget; class LibraryReplaceEvent extends Event { public static $NAME = 'library.replace.event'; /** @var ModuleWidget */ protected $module; /** @var Media */ protected $newMedia; /** @var Media */ protected $oldMedia; /** * WidgetEditEvent constructor. * @param ModuleWidget $module * @param Media $newMedia * @param Media $oldMedia */ public function __construct($module, $newMedia, $oldMedia) { $this->module = $module; $this->newMedia = $newMedia; $this->oldMedia = $oldMedia; } /** * @return ModuleWidget */ public function getModule() { return $this->module; } /** * @return Media */ public function getOldMedia() { return $this->oldMedia; } /** * @return Media */ public function getNewMedia() { return $this->newMedia; } }PK qY4-; Event.phpnu [ . */ namespace Xibo\Event; abstract class Event extends \Symfony\Component\EventDispatcher\Event { private static $NAME = 'generic.event'; public function getName() { return $this::$NAME; } }PK qY ( WidgetAddEvent.phpnu [ . */ namespace Xibo\Event; use Xibo\Widget\ModuleWidget; class WidgetAddEvent extends Event { public static $NAME = 'widget.add'; /** @var ModuleWidget */ protected $module; /** * WidgetEditEvent constructor. * @param ModuleWidget $module */ public function __construct($module) { $this->module = $module; } /** * @return ModuleWidget */ public function getModule() { return $this->module; } }PK qY LayoutBuildRegionEvent.phpnu [ . */ namespace Xibo\Event; /** * Class LayoutBuildRegionEvent * @package Xibo\Event */ class LayoutBuildRegionEvent extends Event { const NAME = 'layout.build.region'; /** @var int */ protected $regionId; /** @var \DOMElement */ protected $regionNode; /** * LayoutBuildEvent constructor. * @param int $regionId * @param \DOMElement $regionNode */ public function __construct($regionId, $regionNode) { $this->regionId = $regionId; $this->regionNode = $regionNode; } /** * @return \DOMElement */ public function getRegionNode() { return $this->regionNode; } }PK qYJT WidgetEditEvent.phpnu [ . * * (WidgetEditEvent.php) */ namespace Xibo\Event; use Xibo\Widget\ModuleWidget; class WidgetEditEvent extends Event { public static $NAME = 'widget.edit'; /** @var ModuleWidget */ protected $module; /** * WidgetEditEvent constructor. * @param ModuleWidget $module */ public function __construct($module) { $this->module = $module; } /** * @return ModuleWidget */ public function getModule() { return $this->module; } }PK qY85 LibraryReplaceWidgetEvent.phpnu [ . */ namespace Xibo\Event; use Xibo\Entity\Media; use Xibo\Widget\ModuleWidget; class LibraryReplaceWidgetEvent extends Event { public static $NAME = 'library.replace.widget.event'; /** @var ModuleWidget */ protected $module; /** @var \Xibo\Entity\Widget */ protected $widget; /** @var Media */ protected $newMedia; /** @var Media */ protected $oldMedia; /** * WidgetEditEvent constructor. * @param ModuleWidget $module The Module for the item being uploaded (the replacement) * @param \Xibo\Entity\Widget $widget The Widget - it will already have the new media assigned. * @param Media $newMedia The replacement Media record * @param Media $oldMedia The old Media record */ public function __construct($module, $widget, $newMedia, $oldMedia) { $this->module = $module; $this->widget = $widget; $this->newMedia = $newMedia; $this->oldMedia = $oldMedia; } /** * @return ModuleWidget */ public function getModule() { return $this->module; } /** * @return Media */ public function getOldMedia() { return $this->oldMedia; } /** * @return Media */ public function getNewMedia() { return $this->newMedia; } /** * @return \Xibo\Entity\Widget */ public function getWidget() { return $this->widget; } }PK qYk LayoutBuildEvent.phpnu [ . */ namespace Xibo\Event; use Xibo\Entity\Layout; /** * Class LayoutBuildEvent * @package Xibo\Event */ class LayoutBuildEvent extends Event { const NAME = 'layout.build'; /** @var Layout */ protected $layout; /** @var \DOMDocument */ protected $document; /** * LayoutBuildEvent constructor. * @param $layout * @param $document */ public function __construct($layout, $document) { $this->layout = $layout; $this->document = $document; } /** * @return \DOMDocument */ public function getDocument() { return $this->document; } }PK qYӗb DisplayProfileLoadedEvent.phpnu [ PK qY E LibraryReplaceEvent.phpnu [ PK qY4-; x Event.phpnu [ PK qY ( WidgetAddEvent.phpnu [ PK qY LayoutBuildRegionEvent.phpnu [ PK qYJT WidgetEditEvent.phpnu [ PK qY85 LibraryReplaceWidgetEvent.phpnu [ PK qYk ' LayoutBuildEvent.phpnu [ PK -