Class: Teeple_FileUpload

Source Location: /FileUpload.php

Class Overview [line 23]


FileUpload関連の処理を行う(複数アップロード対応版)

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods



Class Details

FileUpload関連の処理を行う(複数アップロード対応版)

[ Top ]


Class Variables


Class Methods

__construct

Teeple_FileUpload __construct( )

[line 47]

コンストラクター

Tags:

  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

checkFilesize

array[boolean] checkFilesize( array $size_list)

[line 276]

ファイルサイズが指定されたサイズ以下かどうか?

Tags:

  • return - ファイルサイズが指定されたサイズ以下かどうか?の配列
  • since - 3.1.0
  • access - public

Parameters:

  • array $size_list - 基準となるファイルサイズの配列

[ Top ]

checkMimeType

array[boolean] checkMimeType( $type_list, array $type)

[line 245]

指定されたMIME型になっているか?

Tags:

  • return - 指定されたMIME型になっているか?の配列
  • since - 3.1.0
  • access - public

Parameters:

  • array $type - MIME型の配列
  • $type_list -

[ Top ]

count

integer count( )

[line 108]

アップロードされた数を返却

Tags:

  • return - アップロードされた数
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getError

array getError( )

[line 220]

ファイルアップロードに関するエラーコードを返却

Tags:

  • return - ファイルアップロードに関するエラーコードの配列
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getFilemode

integer getFilemode( )

[line 84]

ファイル移動後のファイルのモードを返却

Tags:

  • return - ファイルのモード
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getFilesize

array getFilesize( )

[line 172]

アップロードされたファイルのバイト単位のサイズを返却

Tags:

  • return - ファイルのサイズの配列
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getMimeType

array getMimeType( )

[line 148]

ファイルのMIME型を返却

Tags:

  • return - ファイルのMIME型の配列
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getName

string getName( )

[line 60]

フォームで指定したフィールド名を返却

Tags:

  • return - フィールド名
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getOriginalName

array getOriginalName( )

[line 124]

クライアントマシンの元のファイル名を返却

Tags:

  • return - クライアントマシンの元のファイル名の配列
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

getTmpName

array getTmpName( )

[line 196]

テンポラリファイルの名前を返却

Tags:

  • return - テンポラリファイルの名前の配列
  • since - 3.1.0
  • access - public

Parameters:

[ Top ]

move

boolean move( $id, strint $dest, strint $name)

[line 308]

指定されたパスへファイルを移動(one file)

Tags:

  • return - 移動に成功したかどうか
  • since - 3.1.0
  • access - public

Parameters:

  • strint $name - 移動元のファイルの索引番号
  • strint $dest - 移動先のファイル名
  • $id -

[ Top ]

setFilemode

void setFilemode( integer $filemode)

[line 96]

ファイル移動後のファイルのモードをセット

Tags:

  • since - 3.1.0
  • access - public

Parameters:

  • integer $filemode - ファイルのモード

[ Top ]

setName

void setName( string $name)

[line 72]

フォームで指定したフィールド名をセット

Tags:

  • since - 3.1.0
  • access - public

Parameters:

  • string $name - フィールド名

[ Top ]


Class Constants


Documentation generated on Mon, 26 Apr 2010 08:59:45 +0900 by phpDocumentor 1.4.3