<?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($J53oD, $ZRqAm, $VF_G6, $CUYF5 = array()) { goto jbUDt; upijx: EventUtil::fire($aHEo6); goto WMOhL; HS45L: $aHEo6->path = $VF_G6; goto Vi2Yn; jbUDt: $aHEo6 = new DataFileUploadedEvent(); goto SNdlQ; Vi2Yn: $aHEo6->opt = $CUYF5; goto upijx; YqbPe: $aHEo6->category = $ZRqAm; goto HS45L; SNdlQ: $aHEo6->driver = $J53oD; goto YqbPe; WMOhL: } public function getOpt($jPfeB, $pdVyN = null) { if (isset($this->opt[$jPfeB])) { return $this->opt[$jPfeB]; } return $pdVyN; } private static $param = array(); public static function setParam($jPfeB, $Gttsd) { self::$param[$jPfeB] = $Gttsd; } public static function forgetParam($jPfeB) { unset(self::$param[$jPfeB]); } public static function getParam($jPfeB) { return isset(self::$param[$jPfeB]) ? self::$param[$jPfeB] : null; } }