File Class Reference
List of all members.Public Member Functions | |
File ($IdOrFileName, $ResourceId=NULL, $FieldId=NULL, $DesiredFileName=NULL, $CheckFileLength=TRUE) | |
Status () | |
Id () | |
Name () | |
GetLength () | |
GetType () | |
Comment ($NewValue=DB_NOVALUE) | |
FieldId ($NewValue=DB_NOVALUE) | |
ResourceId ($NewValue=DB_NOVALUE) | |
GetMimeType () | |
GetLink () | |
Delete () | |
GetNameOfStoredFile () | |
Public Attributes | |
const | FILESTAT_OK = 0 |
const | FILESTAT_COPYERROR = 1 |
const | FILESTAT_PARAMERROR = 2 |
const | FILESTAT_ZEROLENGTH = 3 |
const | FILESTAT_DOESNOTEXIST = 4 |
const | FILESTAT_UNREADABLE = 5 |
Detailed Description
Definition at line 11 of file File.php.
Member Function Documentation
File::Comment | ( | $ | NewValue = DB_NOVALUE |
) |
File::Delete | ( | ) |
File::FieldId | ( | $ | NewValue = DB_NOVALUE |
) |
File::File | ( | $ | IdOrFileName, | |
$ | ResourceId = NULL , |
|||
$ | FieldId = NULL , |
|||
$ | DesiredFileName = NULL , |
|||
$ | CheckFileLength = TRUE | |||
) |
File::GetNameOfStoredFile | ( | ) |
File::GetType | ( | ) |
Definition at line 149 of file File.php.
Referenced by GetMimeType().
Here is the caller graph for this function:

File::Id | ( | ) |
Definition at line 146 of file File.php.
Referenced by Delete(), File(), and GetNameOfStoredFile().
Here is the caller graph for this function:

File::Name | ( | ) |
Definition at line 147 of file File.php.
Referenced by GetLink(), and GetNameOfStoredFile().
Here is the caller graph for this function:

File::ResourceId | ( | $ | NewValue = DB_NOVALUE |
) |
File::Status | ( | ) |
Member Data Documentation
const File::FILESTAT_COPYERROR = 1 |
const File::FILESTAT_DOESNOTEXIST = 4 |
const File::FILESTAT_OK = 0 |
const File::FILESTAT_PARAMERROR = 2 |
const File::FILESTAT_UNREADABLE = 5 |
const File::FILESTAT_ZEROLENGTH = 3 |
The documentation for this class was generated from the following file: