<?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($N6uOL, $W8QzG, $LclBr, $PVWu0 = array()) { goto kJLCv; kJLCv: $fPCm9 = new DataFileUploadedEvent(); goto m2B22; DbO41: $fPCm9->opt = $PVWu0; goto TJiVe; f67V4: $fPCm9->category = $W8QzG; goto YCDWf; TJiVe: EventUtil::fire($fPCm9); goto OvvrO; YCDWf: $fPCm9->path = $LclBr; goto DbO41; m2B22: $fPCm9->driver = $N6uOL; goto f67V4; OvvrO: } public function getOpt($dwwIV, $UZN94 = null) { if (isset($this->opt[$dwwIV])) { return $this->opt[$dwwIV]; } return $UZN94; } private static $param = array(); public static function setParam($dwwIV, $wvO30) { self::$param[$dwwIV] = $wvO30; } public static function forgetParam($dwwIV) { unset(self::$param[$dwwIV]); } public static function getParam($dwwIV) { return isset(self::$param[$dwwIV]) ? self::$param[$dwwIV] : null; } }