\Upload

上传

This class object is the super class that every library in CodeIgniter will be assigned to.

Summary

Methods
Properties
Constants
__construct()
get_instance()
hwupload()
uploadImage()
useravatar()
ajaxuploadavatar()
ajaxcrop()
deltmpimg()
fileupload()
preview()
uploadimg()
uploadimg1()
uploadavatar()
uploadFile()
index()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
get_server_ip()
$instance
$data
N/A

Properties

$instance

$instance : object

Reference to the CI singleton

Type

object

$data

$data : 

Type

Methods

__construct()

__construct() : void

Class constructor

get_instance()

get_instance() : object

Get the CI singleton

Returns

object

hwupload()

hwupload(  $fileKey = 'file') 

Parameters

$fileKey

uploadImage()

uploadImage(  $imagePath = 'imagePath') 

Parameters

$imagePath

useravatar()

useravatar() 

ajaxuploadavatar()

ajaxuploadavatar() 

ajax 处理用户头像

ajaxcrop()

ajaxcrop() 

ajax 裁切头像图片

deltmpimg()

deltmpimg() 

fileupload()

fileupload() 

preview()

preview() 

uploadimg()

uploadimg() 

图片上传

uploadimg1()

uploadimg1() 

图片上传

uploadavatar()

uploadavatar() 

上传头像

uploadFile()

uploadFile() 

上传附件lxn 3-17

index()

index(  $name = 'file') 

Parameters

$name

get_server_ip()

get_server_ip()