FORMidable RAD Framework

formidable_maindatahandler Class Reference

Inheritance diagram for formidable_maindatahandler:

Inheritance graph
[legend]
Collaboration diagram for formidable_maindatahandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 _init (&$oForm, $aElement, $aObjectType, $sXPath)
 _doTheMagic ($bShouldProcess=TRUE)
 _G ()
 _P ($sName=FALSE)
 _F ()
 _GP ()
 _PG ()
 _getSubmittedValue ($sFormId=FALSE)
 _isSubmitted ()
 _isFullySubmitted ()
 _isRefreshSubmitted ()
 _isTestSubmitted ()
 _isDraftSubmitted ()
 _isClearSubmitted ()
 _isSearchSubmitted ()
 getFormData ()
 _getFormData ()
 getThisFormData ($sName)
 _getThisFormData ($sName)
 _processBeforeRender ($aData)
 getFormDataManaged ()
 _getFormDataManaged ()
 _getFlatFormData ()
 _getFlatFormDataManaged ()
 _allIsValid ()
 _isValid ($sRdtName)
 _edition ()
 _creation ()
 _getStoredData ($sName=FALSE)
 getStoredData ($sName=FALSE)
 refreshStoredData ()
 refreshFormData ()
 refreshFormDataManaged ()
 refreshAllData ()
 _currentEntryId ()
 _getHumanFormData ()
 _initCols ()
 getListData ($sKey=FALSE)
 _getListData ($sKey=FALSE)
 _getParentListData ($sKey=FALSE)
 i18n ()
 i18n_getSysLanguageUid ()
 i18n_getChildRecords ($iParentUid)
 i18n_getDefLangUid ()
 getT3Languages ()
 i18n_currentRecordUsesDefaultLang ()
 tableName ()
 keyName ()
 newI18nRequested ()
 i18n_getValueDefaultLang ()
 i18n_getStoredParent ($bStrict=TRUE)
 getRdtValue ($sName)
 getRdtValue_submit_edition ($sName)
 getRdtValue_submit_noEdition ($sName)
 getRdtValue_submit_readonly_edition ($sName)
 getRdtValue_submit_readonly_noEdition ($sName)
 getRdtValue_noSubmit_noEdit ($sName)
 getRdtValue_noSubmit_edit ($sName)

Public Attributes

 $entryId = null
 $forcedId = null
 $newEntryId = null
 $__aStoredData = array()
 $__aFormData = array()
 $__aFormDataManaged = array()
 $__aCols = array()
 $__aListData = array()
 $__aParentListData = array()
 $aT3Languages = FALSE

Detailed Description

Definition at line 3 of file class.maindatahandler.php.


Member Function Documentation

formidable_maindatahandler::_doTheMagic ( bShouldProcess = TRUE  ) 

Processes data returned by the HTML Form after validation, and only if validated Note that this is only the 'abstract' definition of this function as it must be overloaded in the specialized DataHandlers

Returns:
void

Reimplemented in tx_dhdb, tx_dhdbmm, tx_dhlister, tx_dhraw, tx_dhstd, and tx_dhvoid.

Definition at line 38 of file class.maindatahandler.php.

formidable_maindatahandler::_G (  ) 

Returns the slashstripped GET vars array

Returns:
array GET vars array
See also:
formidable_maindatahandler::_GP()

Definition at line 48 of file class.maindatahandler.php.

Referenced by _GP(), _PG(), getRdtValue_noSubmit_edit(), and getRdtValue_noSubmit_noEdit().

formidable_maindatahandler::_P ( sName = FALSE  ) 

Returns the slashstripped POST vars array merged with the _FILES vars array

Returns:
array POST vars array
See also:
formidable_maindatahandler::_GP()

Definition at line 67 of file class.maindatahandler.php.

References _F().

Referenced by tx_dhlister::_getPage(), _GP(), and _PG().

formidable_maindatahandler::_F (  ) 

Returns the slashstripped _FILES vars array

Returns:
array _FILES vars array
See also:
formidable_maindatahandler::_P()

Definition at line 99 of file class.maindatahandler.php.

Referenced by _P().

formidable_maindatahandler::_GP (  ) 

Returns the merged GET and POST arrays using the formidable_maindatahandler::_G() and formidable_maindatahandler::_P() functions and therefore not slashstripped

POST overrides GET

Returns:
array GET and POST vars array

Definition at line 134 of file class.maindatahandler.php.

References _G(), and _P().

Referenced by getRdtValue_noSubmit_noEdit(), getRdtValue_submit_edition(), getRdtValue_submit_readonly_edition(), and getRdtValue_submit_readonly_noEdition().

formidable_maindatahandler::_PG (  ) 

Returns the merged GET and POST arrays using the formidable_maindatahandler::_G() and formidable_maindatahandler::_P() functions and therefore not slashstripped

GET overrides POST

Returns:
array GET and POST vars array

Definition at line 151 of file class.maindatahandler.php.

References _G(), and _P().

formidable_maindatahandler::_getSubmittedValue ( sFormId = FALSE  ) 

Determines if the FORM is submitted using the AMEOSFORMIDABLE_SUBMITTED constant for naming the POSTED variable

Returns:
boolean

Definition at line 165 of file class.maindatahandler.php.

Referenced by _isClearSubmitted(), _isDraftSubmitted(), _isFullySubmitted(), _isRefreshSubmitted(), _isSearchSubmitted(), and _isTestSubmitted().

formidable_maindatahandler::_allIsValid (  ) 

Determines if something was not validated during the validation process

Returns:
boolean TRUE if everything is valid, FALSE if not

Definition at line 350 of file class.maindatahandler.php.

Referenced by tx_dhvoid::_doTheMagic(), tx_dhstd::_doTheMagic(), tx_dhraw::_doTheMagic(), tx_dhlister::_doTheMagic(), tx_dhdbmm::_doTheMagic(), and tx_dhdb::_doTheMagic().

formidable_maindatahandler::_edition (  ) 

Determines if the DataHandler should work in 'edition' mode Note that this is only the 'abstract' definition of this function in the simple case where your DataHandler should never have to edit data

Returns:
boolean TRUE if edition mode, FALSE if not

Reimplemented in tx_dhdb.

Definition at line 370 of file class.maindatahandler.php.

Referenced by _creation(), and getRdtValue().

formidable_maindatahandler::_getStoredData ( sName = FALSE  ) 

Gets the data previously stored by the DataHandler for edition Note that this is only the 'abstract' definition of this function in the simple case where your DataHandler should never have to edit data

Returns:
boolean TRUE if edition mode, FALSE if not
See also:
formidable_maindatahandler::_edition()

Reimplemented in tx_dhdb, and tx_dhdbmm.

Definition at line 387 of file class.maindatahandler.php.

Referenced by getRdtValue_noSubmit_edit(), getRdtValue_submit_readonly_edition(), getStoredData(), and refreshStoredData().


The documentation for this class was generated from the following file:


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6