上传类的‘callback’配置项是干什么的?

浏览:904 发布日期:2015/12/10 分类:求助交流
            /* 调用回调函数检测文件是否存在 */
            $data = call_user_func($this->callback, $file);
            if( $this->callback && $data ){
                if ( file_exists('.'.$data['path'])  ) {
                    $info[$key] = $data;
                    continue;
                }elseif($this->removeTrash){
                    call_user_func($this->removeTrash,$data);//删除垃圾据
                }
            }
这段代码是做什么的看不懂啊?
最佳答案
评论( 相关
后面还有条评论,点击查看>>