Documentation TYPO3 par Ameos |

Public Member Functions | |
| t3lib_TCEforms () | |
| initDefaultBEmode () | |
| getSoloField ($table, $row, $theFieldToReturn) | |
| getMainFields ($table, $row, $depth=0) | |
| getListedFields ($table, $row, $list) | |
| getPaletteFields ($table, $row, $palette, $header='', $itemList='', $collapsedHeader='') | |
| getSingleField ($table, $field, $row, $altName='', $palette=0, $extra='', $pal=0) | |
| getSingleField_SW ($table, $field, $row, &$PA) | |
| getSingleField_typeInput ($table, $field, $row, &$PA) | |
| getSingleField_typeText ($table, $field, $row, &$PA) | |
| getSingleField_typeCheck ($table, $field, $row, &$PA) | |
| getSingleField_typeRadio ($table, $field, $row, &$PA) | |
| getSingleField_typeSelect ($table, $field, $row, &$PA) | |
| getSingleField_typeSelect_single ($table, $field, $row, &$PA, $config, $selItems, $nMV_label) | |
| getSingleField_typeSelect_checkbox ($table, $field, $row, &$PA, $config, $selItems, $nMV_label) | |
| getSingleField_typeSelect_singlebox ($table, $field, $row, &$PA, $config, $selItems, $nMV_label) | |
| getSingleField_typeSelect_multiple ($table, $field, $row, &$PA, $config, $selItems, $nMV_label) | |
| getSingleField_typeGroup ($table, $field, $row, &$PA) | |
| getSingleField_typeNone ($table, $field, $row, &$PA) | |
| getSingleField_typeNone_render ($config, $itemValue) | |
| getSingleField_typeFlex ($table, $field, $row, &$PA) | |
| getSingleField_typeFlex_langMenu ($languages, $elName, $selectedLanguage, $multi=1) | |
| getSingleField_typeFlex_sheetMenu ($sArr, $elName, $sheetKey) | |
| getSingleField_typeFlex_draw ($dataStruct, $editData, $cmdData, $table, $field, $row, &$PA, $formPrefix='', $level=0, $tRows=array()) | |
| getSingleField_typeUnknown ($table, $field, $row, &$PA) | |
| getSingleField_typeUser ($table, $field, $row, &$PA) | |
| getRTypeNum ($table, $row) | |
| rearrange ($fields) | |
| getExcludeElements ($table, $row, $typeNum) | |
| getFieldsToAdd ($table, $row, $typeNum) | |
| mergeFieldsWithAddedFields ($fields, $fieldsToAdd) | |
| setTSconfig ($table, $row, $field='') | |
| getSpecConfForField ($table, $row, $field) | |
| getSpecConfFromString ($extraString, $defaultExtras) | |
| registerDefaultLanguageData ($table, $rec) | |
| renderDefaultLanguageContent ($table, $field, $row, $item) | |
| renderDefaultLanguageDiff ($table, $field, $row, $item) | |
| dbFileIcons ($fName, $mode, $allowed, $itemArray, $selector='', $params=array(), $onFocus='') | |
| getClipboardElements ($allowed, $mode) | |
| getClickMenu ($str, $table, $uid='') | |
| renderWizards ($itemKinds, $wizConf, $table, $row, $field, &$PA, $itemName, $specConf, $RTE=0) | |
| getIcon ($icon) | |
| optionTagStyle ($iconString) | |
| extractValuesOnlyFromValueLabelList ($itemFormElValue) | |
| wrapOpenPalette ($header, $table, $row, $palette, $retFunc=0) | |
| checkBoxParams ($itemName, $thisValue, $c, $iCount, $addFunc='') | |
| elName ($itemName) | |
| noTitle ($str, $wrapParts=array()) | |
| blur () | |
| thisReturnUrl () | |
| getSingleHiddenField ($table, $field, $row) | |
| formWidth ($size=48, $textarea=0) | |
| formWidthText ($size=48, $wrap='') | |
| formElStyle ($type) | |
| formElClass ($type) | |
| formElStyleClassValue ($type, $class=FALSE) | |
| insertDefStyle ($type) | |
| getDynTabMenu ($parts, $idString) | |
| initItemArray ($fieldValue) | |
| addItems ($items, $iArray) | |
| procItems ($items, $iArray, $config, $table, $row, $field) | |
| addSelectOptionsToItemArray ($items, $fieldValue, $TSconfig, $field) | |
| addSelectOptionsToItemArray_makeModuleData ($value) | |
| foreignTable ($items, $fieldValue, $TSconfig, $field, $pFFlag=0) | |
| setNewBEDesign () | |
| intoTemplate ($inArr, $altTemplate='') | |
| addUserTemplateMarkers ($marker, $table, $field, $row, &$PA) | |
| wrapLabels ($str) | |
| wrapTotal ($c, $rec, $table) | |
| replaceTableWrap ($arr, $rec, $table) | |
| wrapBorder (&$out_array, &$out_pointer) | |
| rplColorScheme ($inTemplate) | |
| getDivider () | |
| printPalette ($palArr) | |
| helpTextIcon ($table, $field, $force=0) | |
| helpText ($table, $field) | |
| setColorScheme ($scheme) | |
| resetSchemes () | |
| storeSchemes () | |
| restoreSchemes () | |
| JStop () | |
| JSbottom ($formname='forms[0]') | |
| dbFileCon ($formObj='document.forms[0]') | |
| printNeededJSFunctions () | |
| printNeededJSFunctions_top () | |
| getDefaultRecord ($table, $pid=0) | |
| getRecordPath ($table, $rec) | |
| readPerms () | |
| sL ($str) | |
| getLL ($str) | |
| isPalettesCollapsed ($table, $palette) | |
| isDisplayCondition ($displayCond, $row) | |
| getTSCpid ($table, $uid, $pid) | |
| doLoadTableDescr ($table) | |
| getAvailableLanguages ($onlyIsoCoded=1, $setDefault=1) | |
Public Attributes | |
| $palFieldArr = array() | |
| $disableWizards = 0 | |
| $isPalettedoc = 0 | |
| $paletteMargin = 1 | |
| $defStyle = '' | |
| $cachedTSconfig = array() | |
| $cachedTSconfig_fieldLevel = array() | |
| $transformedRow = array() | |
| $extJSCODE = '' | |
| $printNeededJS = array() | |
| $hiddenFieldAccum = array() | |
| $TBE_EDITOR_fieldChanged_func = '' | |
| $loadMD5_JS = 1 | |
| $prevBorderStyle = '[nothing here...]' | |
| $allowUpload = 0 | |
| $titleLen = 15 | |
| $defaultLanguageData = array() | |
| $defaultLanguageData_diff = array() | |
| $backPath = '' | |
| $returnUrl = '' | |
| $doSaveFieldName = '' | |
| $palettesCollapsed = 0 | |
| $disableRTE = 0 | |
| $globalShowHelp = 1 | |
| $fieldOrder = '' | |
| $doPrintPalette = 1 | |
| $clipObj = FALSE | |
| $enableClickMenu = FALSE | |
| $enableTabMenu = FALSE | |
| $form_rowsToStylewidth = 9.58 | |
| $form_largeComp = 1.33 | |
| $charsPerRow = 40 | |
| $maxTextareaWidth = 48 | |
| $maxInputWidth = 48 | |
| $defaultMultipleSelectorStyle = 'width:250px;' | |
| $prependFormFieldNames = 'data' | |
| $prependFormFieldNames_file = 'data_files' | |
| $formName = 'editform' | |
| $perms_clause = '' | |
| $perms_clause_set = 0 | |
| $edit_showFieldHelp = '' | |
| $docLarge = 0 | |
| $clientInfo = array() | |
| $RTEenabled = 0 | |
| $RTEenabled_notReasons = '' | |
| $RTEcounter = 0 | |
| $colorScheme | |
| $classScheme | |
| $defColorScheme | |
| $defClassScheme | |
| $fieldStyle | |
| $borderStyle | |
| $commentMessages = array() | |
| $totalWrap = '<hr />|<hr />' | |
| $fieldTemplate = '<b>###FIELD_NAME###</b><br />###FIELD_ITEM###<hr />' | |
| $sectionWrap = '' | |
| $palFieldTemplateHeader = '' | |
| $palFieldTemplate = '' | |
| $excludeElements = '' | |
| $palettesRendered = array() | |
| $hiddenFieldListArr = array() | |
| $requiredFields = array() | |
| $requiredElements = array() | |
| $renderDepth = 0 | |
| $savedSchemes = array() | |
| $additionalCode_pre = array() | |
| $additionalJS_pre = array() | |
| $additionalJS_post = array() | |
| $additionalJS_submit = array() | |
Definition at line 191 of file class.t3lib_tceforms.php.
|
|
Constructor function, setting internal variables, loading the styles used.
Definition at line 294 of file class.t3lib_tceforms.php. References t3lib_div::clientInfo(), t3lib_div::modifyHTMLColorAll(), and resetSchemes(). |
|
||||||||||||
|
Merges items into an item-array
Definition at line 3327 of file class.t3lib_tceforms.php. |
|
||||||||||||||||||||
|
Add selector box items of more exotic kinds.
Definition at line 3373 of file class.t3lib_tceforms.php. References t3lib_div::getAllFilesAndFoldersInPath(), t3lib_BEfunc::getExcludeFields(), t3lib_BEfunc::getExplicitAuthFieldValues(), t3lib_div::getFileAbsFileName(), t3lib_iconWorks::getIcon(), t3lib_BEfunc::getSystemLanguages(), t3lib_div::inList(), t3lib_div::intInRange(), t3lib_div::makeInstance(), t3lib_div::removePrefixPathFromList(), and t3lib_iconWorks::skinImg(). |
|
|
Creates value/label pair for a backend module (main and sub)
Definition at line 3595 of file class.t3lib_tceforms.php. |
|
||||||||||||||||||||||||
|
Overwrite this function in own extended class to add own markers for output
Definition at line 3776 of file class.t3lib_tceforms.php. Referenced by getSingleField(). |
|
|
Returns 'this.blur();' string, if supported.
Definition at line 3120 of file class.t3lib_tceforms.php. |
|
||||||||||||||||||||||||
|
Creates checkbox parameters
Definition at line 3086 of file class.t3lib_tceforms.php. Referenced by getSingleField_typeCheck(). |
|
|
Used to connect the db/file browser with this document and the formfields on it!
Definition at line 4435 of file class.t3lib_tceforms.php. |
|
||||||||||||||||||||||||||||||||
|
Prints the selector box form-field for the db/file/select elements (multiple)
Definition at line 2577 of file class.t3lib_tceforms.php. References t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordTitle(), and t3lib_div::intInRange(). |
|
|
Returns true if descriptions should be loaded always
Definition at line 4920 of file class.t3lib_tceforms.php. Referenced by getListedFields(), and getMainFields(). |
|
|
Returns element reference for form element name
Definition at line 3100 of file class.t3lib_tceforms.php. |
|
|
Extracting values from a value/label list (as made by transferData class)
Definition at line 3040 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). |
|
||||||||||||||||||||||||
|
Adds records from a foreign table (for selector boxes)
Definition at line 3617 of file class.t3lib_tceforms.php. References t3lib_BEfunc::exec_foreign_table_where_query(), t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIcon(), t3lib_BEfunc::getRecordTitle(), t3lib_div::inList(), and t3lib_div::trimExplode(). |
|
|
Get class attribute value for the current field type.
Definition at line 3218 of file class.t3lib_tceforms.php. |
|
|
Get style CSS values for the current field type.
Definition at line 3207 of file class.t3lib_tceforms.php. |
|
||||||||||||
|
Get style CSS values for the current field type.
Definition at line 3229 of file class.t3lib_tceforms.php. |
|
||||||||||||
|
Returns parameters to set the width for a <input>/<textarea>-element
Definition at line 3164 of file class.t3lib_tceforms.php. |
|
||||||||||||
|
Returns parameters to set with for a textarea field
Definition at line 3191 of file class.t3lib_tceforms.php. |
|
||||||||||||
|
Returns an array of available languages (to use for FlexForms)
Definition at line 4932 of file class.t3lib_tceforms.php. References t3lib_BEfunc::deleteClause(), t3lib_BEfunc::getRecord(), and t3lib_extMgm::isLoaded(). |
|
||||||||||||||||
|
Wraps the icon of a relation item (database record or file) in a link opening the context menu for the item. Icons will be wrapped only if $this->enableClickMenu is set. This must be done only if a global SOBE object exists and if the necessary JavaScript for displaying the context menus has been added to the page header.
Definition at line 2772 of file class.t3lib_tceforms.php. |
|
||||||||||||
|
Returns array of elements from clipboard to insert into GROUP element box.
Definition at line 2723 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). |
|
||||||||||||
|
Gets default record. Maybe not used anymore. FE-editor?
Definition at line 4712 of file class.t3lib_tceforms.php. References t3lib_BEfunc::deleteClause(), and t3lib_div::loadTCA(). |
|
|
Returns divider. Currently not implemented and returns only blank value.
Definition at line 3892 of file class.t3lib_tceforms.php. Referenced by getListedFields(), and getMainFields(). |
|
||||||||||||
|
Create dynamic tab menu
Definition at line 3270 of file class.t3lib_tceforms.php. |
|
||||||||||||||||
|
Producing an array of field names NOT to display in the form, based on settings from subtype_value_field, bitmask_excludelist_bits etc. Notice, this list is in NO way related to the "excludeField" flag
Definition at line 2290 of file class.t3lib_tceforms.php. References t3lib_div::intInRange(), t3lib_div::testInt(), and t3lib_div::trimExplode(). Referenced by getMainFields(), getPaletteFields(), and getSoloField(). |
|
||||||||||||||||
|
Finds possible field to add to the form, based on subtype fields.
Definition at line 2338 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). Referenced by getMainFields(). |
|
|
Get icon (for example for selector boxes)
Definition at line 2997 of file class.t3lib_tceforms.php. References t3lib_div::getFileAbsFileName(). |
|
||||||||||||||||
|
Will return the TCEform elements for a pre-defined list of fields. Notice that this will STILL use the configuration found in the list [types][showitem] for those fields which are found there. So ideally the list of fields given as argument to this function should also be in the current [types][showitem] list of the record. Used for displaying forms for the frontend edit icons for instance.
Definition at line 579 of file class.t3lib_tceforms.php. References doLoadTableDescr(), getDivider(), getPaletteFields(), getSingleField(), t3lib_BEfunc::getTCAtypes(), t3lib_div::loadTCA(), and t3lib_div::trimExplode(). |
|
|
Returns language label from locallang_core.php Labels must be prefixed with either "l_" or "m_". The prefix "l_" maps to the prefix "labels." inside locallang_core.php The prefix "m_" maps to the prefix "mess." inside locallang_core.php
Definition at line 4792 of file class.t3lib_tceforms.php. Referenced by getMainFields(), getSingleField(), and getSingleField_typeText(). |
|
||||||||||||||||
|
Based on the $table and $row of content, this displays the complete TCEform for the record. The input-$row is required to be preprocessed if necessary by eg. the t3lib_transferdata class. For instance the RTE content should be transformed through this class first.
Definition at line 412 of file class.t3lib_tceforms.php. References $excludeElements, doLoadTableDescr(), getDivider(), getExcludeElements(), getFieldsToAdd(), getLL(), getPaletteFields(), getRTypeNum(), getSingleField(), t3lib_div::loadTCA(), mergeFieldsWithAddedFields(), rearrange(), resetSchemes(), setColorScheme(), sL(), t3lib_div::trimExplode(), and wrapBorder(). |
|
||||||||||||||||||||||||||||
|
Creates a palette (collection of secondary options).
Definition at line 620 of file class.t3lib_tceforms.php. References getExcludeElements(), getRTypeNum(), getSingleField(), intoTemplate(), isPalettesCollapsed(), t3lib_div::loadTCA(), printPalette(), t3lib_iconWorks::skinImg(), t3lib_div::trimExplode(), and wrapOpenPalette(). Referenced by getListedFields(), and getMainFields(). |
|