<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Data\Event; use ModStart\Core\Util\EventUtil; class DataFileUploadedEvent { const OPT_IMAGE_COMPRESS_IGNORE = 'imageCompressIgnore'; const OPT_IMAGE_WATERMARK_IGNORE = 'imageWatermarkIgnore'; public $driver; public $category; public $path; public $opt; public static function fire($pGRDx, $NU9Ix, $nAf_0, $SbEFr = array()) { goto M11_4; koavn: $zU3b7->path = $nAf_0; goto CPwT_; CLs0U: $zU3b7->driver = $pGRDx; goto K1ggW; OGjEL: EventUtil::fire($zU3b7); goto fo4op; K1ggW: $zU3b7->category = $NU9Ix; goto koavn; CPwT_: $zU3b7->opt = $SbEFr; goto OGjEL; M11_4: $zU3b7 = new DataFileUploadedEvent(); goto CLs0U; fo4op: } public function getOpt($VFU9l, $snkf0 = null) { if (isset($this->opt[$VFU9l])) { return $this->opt[$VFU9l]; } return $snkf0; } private static $param = array(); public static function setParam($VFU9l, $HDpl6) { self::$param[$VFU9l] = $HDpl6; } public static function forgetParam($VFU9l) { unset(self::$param[$VFU9l]); } public static function getParam($VFU9l) { return isset(self::$param[$VFU9l]) ? self::$param[$VFU9l] : null; } }