Class: I2CE FormField DOCUMENT: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
This article desrcibes the class '''I2CE_FormField_DOCUMENT''' which extends the class [[Class: I2CE_FormField_BINARY_FILE | I2CE_FormField_BINARY_FILE]]
This article desrcibes the class '''I2CE_FormField_DOCUMENT'''.
*Extends the class: [[Class: I2CE_FormField_BINARY_FILE | I2CE_FormField_BINARY_FILE]].
It is contained in the module [[iHRIS Module List#BinField|BinField]] in the package [https://launchpad.net/i2ce I2CE]
It is contained in the module [[iHRIS Module List#BinField|BinField]] in the package [https://launchpad.net/i2ce I2CE]


Line 15: Line 16:
get the default extension for this document
get the default extension for this document
*Signature: protected function defaultExtension()
*Signature: protected function defaultExtension()
*Returns: [http://www.php.net/manual/en/language.types.string.php string]
*Returns: [http://www.php.net/manual/en/language.types.string.php string ]
===defaultMimeType()===
===defaultMimeType()===
get the default extension for this docuemnt
get the default extension for this docuemnt
*Signature: protected function defaultMimeType()
*Signature: protected function defaultMimeType()
*Returns: [http://www.php.net/manual/en/language.types.string.php string]
*Returns: [http://www.php.net/manual/en/language.types.string.php string ]
===isValidMimeType()===
===isValidMimeType()===
Checks to see if a mime type is a valid docuement mime type
Checks to see if a mime type is a valid docuement mime type
Line 25: Line 26:
*Returns: true if valid.  false otherwise
*Returns: true if valid.  false otherwise
Parameters:
Parameters:
* [http://www.php.net/manual/en/language.types.string.php string] $mime_type
* [http://www.php.net/manual/en/language.types.string.php string ] $mime_type
==Inherited Variables==
==Inherited Variables==
===$mime_type===
===$mime_type===

Revision as of 22:24, 16 October 2009

This article desrcibes the class I2CE_FormField_DOCUMENT.

It is contained in the module BinField in the package I2CE

The class is defined in the file: modules/Forms/modules/Binary_Files/lib/I2CE_FormField_DOCUMENT.php

Class for defining all the database fields used by a {@link I2CE_Form} object.

  • Author: Carl Leitner <litlfred@ibiblio.org>
  • Since: v2.0.0

Variables

$valid_types

  • Type: static protected $valid_types

Methods

defaultExtension()

get the default extension for this document

  • Signature: protected function defaultExtension()
  • Returns: string

defaultMimeType()

get the default extension for this docuemnt

  • Signature: protected function defaultMimeType()
  • Returns: string

isValidMimeType()

Checks to see if a mime type is a valid docuement mime type

  • Signature: public function isValidMimeType($mime_type)
  • Returns: true if valid. false otherwise

Parameters:

Inherited Variables

$mime_type

Theis protected variable is inherited from I2CE_FormField_BINARY_FILE->$mime_type

$name

Theis protected variable is inherited from I2CE_FormField->$name

$options

Theis protected variable is inherited from I2CE_FormField->$options

$value

Theis protected variable is inherited from I2CE_FormField->$value

$headers

Theis protected variable is inherited from I2CE_FormField->$headers

$href

Theis protected variable is inherited from I2CE_FormField->$href

$form

Theis protected variable is inherited from I2CE_FormField->$form

$history

Theis protected variable is inherited from I2CE_FormField->$history

$history_idx

Theis protected variable is inherited from I2CE_FormField->$history_idx

$attributes

Theis protected variable is inherited from I2CE_FormField->$attributes

$invalid

Theis protected variable is inherited from I2CE_FormField->$invalid

Inherited Fuzzy Methods

cachedTableReference()

This method is inherited from I2CE_FormField->cachedTableReference()

isNumeric()

This method is inherited from I2CE_FormField->isNumeric()

getLimitStyles()

This method is inherited from I2CE_FormField->getLimitStyles()

generateLimit()

This method is inherited from I2CE_FormField->generateLimit()

generateLimit_null()

This method is inherited from I2CE_FormField->generateLimit_null()

generateLimit_not_null()

This method is inherited from I2CE_FormField->generateLimit_not_null()

generateLimit_null_not_null()

This method is inherited from I2CE_FormField->generateLimit_null_not_null()

checkLimit_null()

This method is inherited from I2CE_FormField->checkLimit_null()

checkLimit_not_null()

This method is inherited from I2CE_FormField->checkLimit_not_null()

checkLimit_null_not_null()

This method is inherited from I2CE_FormField->checkLimit_null_not_null()

checkLimitString_null()

This method is inherited from I2CE_FormField->checkLimitString_null()

checkLimitString_not_null()

This method is inherited from I2CE_FormField->checkLimitString_not_null()

checkLimitString_null_not_null()

This method is inherited from I2CE_FormField->checkLimitString_null_not_null()

getLimitMenu_null()

This method is inherited from I2CE_FormField->getLimitMenu_null()

getLimitMenu_not_null()

This method is inherited from I2CE_FormField->getLimitMenu_not_null()

getLimitMenu_null_not_null()

This method is inherited from I2CE_FormField->getLimitMenu_null_not_null()

processLimitMenu_null()

This method is inherited from I2CE_FormField->processLimitMenu_null()

processLimitMenu_not_null()

This method is inherited from I2CE_FormField->processLimitMenu_not_null()

processLimitMenu_null_not_null()

This method is inherited from I2CE_FormField->processLimitMenu_null_not_null()

generateLimit_max_parent()

This method is inherited from I2CE_FormField->generateLimit_max_parent()

generateLimit_min_parent()

This method is inherited from I2CE_FormField->generateLimit_min_parent()

generateLimit_max_parent_form()

This method is inherited from I2CE_FormField->generateLimit_max_parent_form()

generateLimit_min_parent_form()

This method is inherited from I2CE_FormField->generateLimit_min_parent_form()

getLimitMenu_max_parent()

This method is inherited from I2CE_FormField->getLimitMenu_max_parent()

getLimitMenu_min_parent()

This method is inherited from I2CE_FormField->getLimitMenu_min_parent()

getLimitMenu_max_parent_form()

This method is inherited from I2CE_FormField->getLimitMenu_max_parent_form()

getLimitMenu_min_parent_form()

This method is inherited from I2CE_FormField->getLimitMenu_min_parent_form()

processLimitMenu_max_parent()

This method is inherited from I2CE_FormField->processLimitMenu_max_parent()

processLimitMenu_min_parent()

This method is inherited from I2CE_FormField->processLimitMenu_min_parent()

processLimitMenu_max_parent_form()

This method is inherited from I2CE_FormField->processLimitMenu_max_parent_form()

processLimitMenu_min_parent_form()

This method is inherited from I2CE_FormField->processLimitMenu_min_parent_form()

save()

This method is inherited from I2CE_FormField->save()

populateHistory()

This method is inherited from I2CE_FormField->populateHistory()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()