Field for storing files (and also image files)
SECURITY NOTICE: If you don't set the oldValue property to the real old value of the field (got from DB query), it is possible for any user who can upload files to dataDir to delete or overwrite ANY file in this directory!
NOTE: Because of the way file uploads are handled by browsers, it is not posible to set this field to send the same file on form resubmit (after error). So if there is an error in the form, user must manually select the uploaded files again.
NOTE2: Since we cannot 'prefill' the field value to the old one (see NOTE), the field retains the old value when no file is entered. To delete current file, user must check the 'delete' checkbox.
Located in /DBLFileField.php (line 28)
DBLField | --DBLFileField
Inherited from DBLField
DBLField::$addAsterixes
DBLField::$allowEmpty
DBLField::$computed
DBLField::$dbName
DBLField::$default
DBLField::$detailAttributes
DBLField::$detailPostfix
DBLField::$detailPrefix
DBLField::$editAttributes
DBLField::$editPostfix
DBLField::$editPrefix
DBLField::$filterAttributes
DBLField::$filterPostfix
DBLField::$filterPrefix
DBLField::$indexAttributes
DBLField::$indexPostfix
DBLField::$indexPrefix
DBLField::$lookupField
DBLField::$name
DBLField::$needsMultipart
DBLField::$noOrderByTitle
DBLField::$readOnly
DBLField::$referenceURL
DBLField::$titleHTML
DBLField::$titleTxt
DBLField::$widgetAttributes
Constructor
Internal function - sanitize file name (cut it at the first slash)
Inherited From DBLField
DBLField::DBLField()
DBLField::acceptFilterValue()
DBLField::acceptValue()
DBLField::addCondition()
DBLField::checkValue()
DBLField::formatDetail()
DBLField::formatEdit()
DBLField::formatFilter()
DBLField::formatIndex()
DBLField::jsCheck()
DBLField::setTitle()
DBLField::splitValue()
Documentation generated on Mon, 6 Sep 2004 21:57:08 +0200 by phpDocumentor 1.2.3