|
CWIS Developer Documentation
|
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 |
| File::Comment | ( | $NewValue = DB_NOVALUE | ) |
| File::Delete | ( | ) |
Definition at line 187 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 GetNameOfStoredFile(), Id(), and Status().
| File::GetNameOfStoredFile | ( | ) |
| File::GetType | ( | ) |
Definition at line 149 of file File.php.
Referenced by GetMimeType().

| File::Id | ( | ) |
Definition at line 146 of file File.php.
Referenced by Delete(), File(), and GetNameOfStoredFile().

| File::Name | ( | ) |
Definition at line 147 of file File.php.
Referenced by GetLink(), and GetNameOfStoredFile().

| File::ResourceId | ( | $NewValue = DB_NOVALUE | ) |
| File::Status | ( | ) |