|
|
(16 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| This article describes the class ''I2CE_FormField_DOCUMENT''.
| | #REDIRECT [[Class: I2CE_FormField_DOCUMENT (4.1.12)]] |
| *Extends the class: [[Class: I2CE_FormField_BINARY_FILE | I2CE_FormField_BINARY_FILE]].
| |
| *Parent Classses: [[Class: I2CE_FormField_BINARY_FILE | I2CE_FormField_BINARY_FILE]] [[Class: I2CE_FormField_DB_BLOB | I2CE_FormField_DB_BLOB]] [[Class: I2CE_FormField | I2CE_FormField]] [[Class: I2CE_Fuzzy | I2CE_Fuzzy]]
| |
| *Location: Part of the module [[I2CE Module List#BinField|BinField]] in the package [https://launchpad.net/i2ce I2CE]
| |
| *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php]
| |
| *Author: Carl Leitner <litlfred@ibiblio.org>
| |
| *Since: v2.0.0
| |
| Class for defining all the database fields used by a [[Class: I2CE_Form | ]] object.
| |
| ==Variables==
| |
| ===$valid_types===
| |
| *Type: static protected $valid_types
| |
| | |
| ==Methods==
| |
| ===defaultExtension()===
| |
| get the default extension for this document
| |
| *Signature: protected function defaultExtension()
| |
| *Returns: [http://www.php.net/manual/en/language.types.string.php string ]
| |
| ===defaultMimeType()===
| |
| get the default extension for this docuemnt
| |
| *Signature: protected function defaultMimeType()
| |
| *Returns: [http://www.php.net/manual/en/language.types.string.php string ]
| |
| ===isValidMimeType()===
| |
| Checks to see if a mime type is a valid docuement mime type
| |
| *Signature: public function isValidMimeType($mime_type)
| |
| *Parameters:
| |
| ** [http://www.php.net/manual/en/language.types.string.php string ] $mime_type
| |
| *Returns: true<br/>if valid. false otherwise
| |
| | |
| | |
| [[Category:Class Documentation]]
| |