File Class Reference
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 | ( | ) |
Definition at line 162 of file File.php.
References GetNameOfStoredFile(), and Id().
| File::FieldId | ( | $ | NewValue = DB_NOVALUE ) |
| File::File | ( | $ | IdOrFileName, |
| $ | ResourceId = NULL, |
||
| $ | FieldId = NULL, |
||
| $ | DesiredFileName = NULL, |
||
| $ | CheckFileLength = TRUE |
||
| ) |
Definition at line 24 of file File.php.
References FILESTAT_COPYERROR, FILESTAT_OK, FILESTAT_PARAMERROR, FILESTAT_UNREADABLE, FILESTAT_ZEROLENGTH, GetNameOfStoredFile(), Id(), and Status().
| File::GetNameOfStoredFile | ( | ) |
| File::GetType | ( | ) |
Definition at line 138 of file File.php.
Referenced by GetMimeType().
Here is the caller graph for this function:

| File::Id | ( | ) |
| File::Name | ( | ) |
Definition at line 136 of file File.php.
Referenced by 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:




