Class: I2CE FormField DOCUMENT (4.1.12)
This article describes the class I2CE_FormField_DOCUMENT .
- Extends the class: I2CE_FormField_BINARY_FILE.
- Location: Part of the module BinField in the package I2CE 4.1.12-release
- Source: Defined in the file modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php on line 28
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v2.0.0
Class for defining all the database fields used by a object.
Variables
$valid_types
- Defined in i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php on line 29
- Type: static protected $valid_types
Methods
defaultExtension()
get the default extension for this document
- Defined in i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php on line 74
- Signature: protected function defaultExtension()
- Returns: string
defaultMimeType()
get the default extension for this docuemnt
- Defined in i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php on line 83
- Signature: protected function defaultMimeType()
- Returns: string
isValidMimeType()
Checks to see if a mime type is a valid docuement mime type
- Defined in i2ce/modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php on line 59
- Signature: public function isValidMimeType($mime_type)
- Parameters:
- string $mime_type
- Returns: true
if valid. false otherwise
Inherited Methods
__construct()
This public method is inherited from I2CE_FormField_BINARY_FILE->__construct()
getBinaryData()
This public method is inherited from I2CE_FormField_BINARY_FILE->getBinaryData()
getContentLength()
This public method is inherited from I2CE_FormField_BINARY_FILE->getContentLength()
getDBValue()
This public method is inherited from I2CE_FormField_BINARY_FILE->getDBValue()
getDisplayNode()
This public method is inherited from I2CE_FormField_BINARY_FILE->getDisplayNode()
getDisplayValue()
This public method is inherited from I2CE_FormField_BINARY_FILE->getDisplayValue()
getExtension()
This public method is inherited from I2CE_FormField_BINARY_FILE->getExtension()
getFieldLink()
This public method is inherited from I2CE_FormField_BINARY_FILE->getFieldLink()
getFileName()
This public method is inherited from I2CE_FormField_BINARY_FILE->getFileName()
getHeaders()
This public method is inherited from I2CE_FormField_BINARY_FILE->getHeaders()
getMetaValue()
This public method is inherited from I2CE_FormField_BINARY_FILE->getMetaValue()
getMimeType()
This public method is inherited from I2CE_FormField_BINARY_FILE->getMimeType()
getModTime()
This public method is inherited from I2CE_FormField_BINARY_FILE->getModTime()
getValue()
This public method is inherited from I2CE_FormField_BINARY_FILE->getValue()
isTooBig()
This public method is inherited from I2CE_FormField_BINARY_FILE->isTooBig()
isValid()
This public method is inherited from I2CE_FormField_BINARY_FILE->isValid()
processDOMEditable()
This public method is inherited from I2CE_FormField_BINARY_FILE->processDOMEditable()
processDOMNotEditable()
This public method is inherited from I2CE_FormField_BINARY_FILE->processDOMNotEditable()
setFromDB()
This public method is inherited from I2CE_FormField_BINARY_FILE->setFromDB()
setFromData()
This public method is inherited from I2CE_FormField_BINARY_FILE->setFromData()
setFromPost()
This public method is inherited from I2CE_FormField_BINARY_FILE->setFromPost()
getLink()
This protected method is inherited from I2CE_FormField_BINARY_FILE->getLink()
getTmpFileKeyValue()
This protected method is inherited from I2CE_FormField_BINARY_FILE->getTmpFileKeyValue()
hasTmpFileKey()
This protected method is inherited from I2CE_FormField_BINARY_FILE->hasTmpFileKey()
setFromTemporaryLocation()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromTemporaryLocation()
setFromTemporaryTable()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromTemporaryTable()
setTempKey()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setTempKey()
storeInTemporaryLocation()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->storeInTemporaryLocation()
storeInTemporaryTable()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->storeInTemporaryTable()
save()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->save()
setFromTemporaryFile()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromTemporaryFile()
setupStorageFile()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setupStorageFile()
setupTemporaryDirectory()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->setupTemporaryDirectory()
storeInTemporaryFile()
This public method is inherited from I2CE_FormField_STORE_BINARY_FILE->storeInTemporaryFile()
setFromPostUpload()
This protected method is inherited from I2CE_FormField_STORE_BINARY_FILE->setFromPostUpload()
setValueFromTempFile()
This protected method is inherited from I2CE_FormField_STORE_BINARY_FILE->setValueFromTempFile()
getStorageFile()
This protected method is inherited from I2CE_FormField_STORE_BINARY_FILE->getStorageFile()
Inherited Variables
$mime_type
Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$mime_type
$null_term
Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$null_term
$file_name
Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$file_name
$fmod_time
Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$fmod_time
$keys
Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$keys
$tmp_key
Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$tmp_key
$setStmt
Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$setStmt
$storeStmt
Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$storeStmt
$temp_file
Theis protected variable is inherited from I2CE_FormField_STORE_BINARY_FILE->$temp_file