<?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($TVYhc, $FVUIh, $adFNb, $rI4Xn = array()) { goto qa4F5; woW7V: $BHEro->opt = $rI4Xn; goto nlPe0; qa4F5: $BHEro = new DataFileUploadedEvent(); goto kf2I3; JRdqI: $BHEro->category = $FVUIh; goto OsLxq; OsLxq: $BHEro->path = $adFNb; goto woW7V; nlPe0: EventUtil::fire($BHEro); goto VzI_8; kf2I3: $BHEro->driver = $TVYhc; goto JRdqI; VzI_8: } public function getOpt($HQKqq, $PDSnF = null) { if (isset($this->opt[$HQKqq])) { return $this->opt[$HQKqq]; } return $PDSnF; } private static $param = array(); public static function setParam($HQKqq, $mdHu1) { self::$param[$HQKqq] = $mdHu1; } public static function forgetParam($HQKqq) { unset(self::$param[$HQKqq]); } public static function getParam($HQKqq) { return isset(self::$param[$HQKqq]) ? self::$param[$HQKqq] : null; } }