Class Env_FileList
Extended value that represents a list of uploaded files.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Value
implements
Core\Comparable,
Core\Equality,
Core\Identity
-
Core\Env_FileList
implements
ArrayAccess,
Iterator
Methods summary
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
mixed
|
|
public
boolean
|
#
multipleFiles( )
Helper method to distinguish between multiple and single file uploads. Upon accessing the environment this method should be called on the returned object to test whether a single file has been uploaded and the object can be treated as such, or multiple files has been uploaded and the returned object is an iterator for all uploaded files. |
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
Methods inherited from Core\Value
__clone(),
__invoke(),
__toString(),
bit(),
bool(),
compareTo(),
explode(),
filter(),
float(),
int(),
isArray(),
isBoolean(),
isCallable(),
isCallback(),
isEqualTo(),
isFloat(),
isIdenticalTo(),
isInteger(),
isNull(),
isNumeric(),
isObject(),
isOffset(),
isResource(),
isScalar(),
isString(),
set(),
string(),
stringObject(),
toArray(),
toLower(),
toUpper()
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
attachMethod(),
chain(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
Constants inherited from Core\Value
Bit,
Boolean,
Float,
Integer,
LowercaseString,
String,
StringObject,
UppercaseString
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
array
|
$_v_indices
The set of indices for the multiple files upload. |
|
protected
|
$_v_key
The |
Properties inherited from Core\Value
Magic properties
public read-only
integer
|
$count
Number of uploaded files. |
public read-only
|
$current
Current file instance. |
public read-only
array
|
$indices
Set of indices for the multiple files upload. |
public read-only
mixed
|
$key
Upload input form key of file set. |
public read-only
boolean
|
$multipleFiles
Status whether multiple files are represented. |
public read-only
boolean
|
$valid
Status of current index validity. |
Magic properties inherited from Core\Value
$bit,
$bool,
$float,
$int,
$isArray,
$isBoolean,
$isCallable,
$isCallback,
$isFloat,
$isInteger,
$isNull,
$isNumeric,
$isObject,
$isOffset,
$isResource,
$isScalar,
$isString,
$onSet,
$string,
$stringObject,
$value