\ACMS_Http_File

ACMS_Http_File

Summary

Methods
Properties
Constants
file()
__constract()
__construct()
getName()
getFileSize()
getPath()
validateFormat()
convertEncoding()
getCsv()
No public properties found
No constants found
No protected methods found
$name
$type
$path
$extension
N/A
validate()
No private properties found
N/A

Properties

$name

$name : 

Type

$type

$type : 

Type

$path

$path : 

Type

$extension

$extension : 

Type

Methods

file()

file(  $allowExtensions = null) 

Parameters

$allowExtensions

__constract()

__constract() 

__construct()

__construct(  $name) 

Parameters

$name

getName()

getName() : string

getter path

Returns

string

getFileSize()

getFileSize() : integer

getter path

Returns

integer

getPath()

getPath() : string

getter path

Returns

string

validateFormat()

validateFormat(array  $mimeTypes = array()) 

フォーマットのチェック

Parameters

array $mimeTypes

convertEncoding()

convertEncoding(string  $path) : \SplTempFileObject

文字コードの変換

Parameters

string $path

Returns

\SplTempFileObject

getCsv()

getCsv() : \SplTempFileObject

ファイルからCSVオブジェクトの取得

Returns

\SplTempFileObject

validate()

validate() 

アップロードファイルの検証