<?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($yVx83, $QLOpy, $S3tfG, $AL72v = array()) { goto zwgnC; EH4fK: EventUtil::fire($f5o2n); goto zS5rr; FVoI_: $f5o2n->opt = $AL72v; goto EH4fK; ookuZ: $f5o2n->driver = $yVx83; goto fm5Aw; l9wNk: $f5o2n->path = $S3tfG; goto FVoI_; fm5Aw: $f5o2n->category = $QLOpy; goto l9wNk; zwgnC: $f5o2n = new DataFileUploadedEvent(); goto ookuZ; zS5rr: } public function getOpt($rvTrU, $K5eKM = null) { if (isset($this->opt[$rvTrU])) { return $this->opt[$rvTrU]; } return $K5eKM; } private static $param = array(); public static function setParam($rvTrU, $gwXrh) { self::$param[$rvTrU] = $gwXrh; } public static function forgetParam($rvTrU) { unset(self::$param[$rvTrU]); } public static function getParam($rvTrU) { return isset(self::$param[$rvTrU]) ? self::$param[$rvTrU] : null; } }