eZHTTPFile Class Reference
[HTTP utilities]
Provides access to HTTP post files.
More...
List of all members.
Detailed Description
Provides access to HTTP post files.
This class provides easy access to files posted by clients over HTTP. The HTTP file will be present as a temporary file which can be moved to store it, if not the file will be removed when the PHP script is done.
Definition at line ezhttpfile.php.
Constructor & Destructor Documentation
eZHTTPFile::eZHTTPFile |
( |
$ |
http_name, |
|
|
$ |
variable |
|
) |
|
|
|
Initializes with a name and http variable. - Parameters:
-
http_name |
Name of the HTTP variable |
variable |
The HTTP variable structure |
Definition at line ezhttpfile.php.
References Type.
Referenced by fetch(). |
Member Function Documentation
eZHTTPFile::attribute |
( |
$ |
attr |
) |
|
|
|
- Returns:
-
the value for the attribute $attr or null if the attribute does not exist.
Definition at line ezhttpfile.php.
References Type. |
eZHTTPFile::attributes |
( |
|
) |
|
|
|
- Returns:
-
an array with the attributes for this object.
Definition at line ezhttpfile.php. |
eZHTTPFile::canFetch |
( |
$ |
http_name |
) |
|
|
& eZHTTPFile::fetch |
( |
$ |
http_name |
) |
|
|
eZHTTPFile::hasAttribute |
( |
$ |
attr |
) |
|
|
|
- Returns:
-
true if the attribute $attr exists
Definition at line ezhttpfile.php. |
eZHTTPFile::storageDir |
( |
$ |
sub_dir = false |
) |
|
|
eZHTTPFile::store |
( |
$ |
sub_dir = false, |
|
|
$ |
suffix = false |
|
) |
|
|
The documentation for this class was generated from the following file:
|