Class XCube_FormFile
WARNING: This class is simple wrapper class for proccessing the file uploaded. However, we have to examine the position of this class. We aims to simple file tree. This class is only helper. We think that Cube system shouldn't offer misc helper.
We put this class in root/class for the progress of this project. But, we will move this to other directory in the future.
Direct known subclasses
XCube_FormImageFile
Package: XCube
Copyright: Copyright 2005-2007 XOOPS Cube Project <https://github.com/xoopscube/legacy>
License: Modified BSD license
Located at html/core/XCube_FormFile.class.php
Copyright: Copyright 2005-2007 XOOPS Cube Project <https://github.com/xoopscube/legacy>
License: Modified BSD license
Located at html/core/XCube_FormFile.class.php
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
#
setRandomToBodyName( $prefix $prefix, $salt $salt = '' )
Set random string to file body name. The extension is never changed. |
public
|
#
setRandomToFilename( $prefix $prefix, $salt $salt = '' )
Set random string to file body name. The extension is changed. |
public
string
|
|
public
boolean
|
|
public
boolean
|
#
saveAsRandBody( $dir $dir, $prefix $prefix = '', $salt $salt = '' )
Set random string to file body name, and store it. The extension is never changed. |
public
boolean
|
#
saveAsRand( $dir $dir, $prefix $prefix = '', $salt $salt = '' )
Set random string to file name, and store it. The extension is never changed. |
public
|
$mName | null |
|
public
|
$mKey | null |
|
public
|
$mContentType | null |
|
public
|
$mFileName | null |
|
public
integer
|
$mFileSize | 0 |
|
public
|
$_mTmpFileName | null |
|
public
boolean
|
$mUploadFileFlag | false |