<?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($gzj5D, $A1ib2, $YhsOb, $MLxaJ = array()) { goto SKTn9; jcnEo: EventUtil::fire($D8UxC); goto UsgMS; xh7VX: $D8UxC->category = $A1ib2; goto J43Vv; J43Vv: $D8UxC->path = $YhsOb; goto E8L0J; XuUZ1: $D8UxC->driver = $gzj5D; goto xh7VX; SKTn9: $D8UxC = new DataFileUploadedEvent(); goto XuUZ1; E8L0J: $D8UxC->opt = $MLxaJ; goto jcnEo; UsgMS: } public function getOpt($l6tBV, $dMLhR = null) { if (isset($this->opt[$l6tBV])) { return $this->opt[$l6tBV]; } return $dMLhR; } private static $param = array(); public static function setParam($l6tBV, $Mczr_) { self::$param[$l6tBV] = $Mczr_; } public static function forgetParam($l6tBV) { unset(self::$param[$l6tBV]); } public static function getParam($l6tBV) { return isset(self::$param[$l6tBV]) ? self::$param[$l6tBV] : null; } }