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) | |
formatValue ($config, $itemValue) | |
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) | |
getLanguageOverlayRawValue ($table, $row, $field, $fieldConf) | |
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, $ffValueKey='') | |
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 | |
$localizationMode = '' | |
$fieldOrder = '' | |
$doPrintPalette = 1 | |
$clipObj = FALSE | |
$enableClickMenu = FALSE | |
$enableTabMenu = FALSE | |
$renderReadonly = 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 195 of file class.t3lib_tceforms.php.
|
Constructor function, setting internal variables, loading the styles used.
Definition at line 300 of file class.t3lib_tceforms.php. References t3lib_div::clientInfo(), t3lib_div::modifyHTMLColorAll(), and resetSchemes(). |
|
Merges items into an item-array
Definition at line 3670 of file class.t3lib_tceforms.php. |
|
Add selector box items of more exotic kinds.
Definition at line 3716 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(), and t3lib_div::removePrefixPathFromList(). |
|
Creates value/label pair for a backend module (main and sub)
Definition at line 3936 of file class.t3lib_tceforms.php. |
|
Overwrite this function in own extended class to add own markers for output
Definition at line 4118 of file class.t3lib_tceforms.php. Referenced by getSingleField(). |
|
Returns 'this.blur();' string, if supported.
Definition at line 3463 of file class.t3lib_tceforms.php. |
|
Creates checkbox parameters
Definition at line 3429 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 4779 of file class.t3lib_tceforms.php. |
|
Prints the selector box form-field for the db/file/select elements (multiple)
Definition at line 2913 of file class.t3lib_tceforms.php. References t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), and t3lib_div::intInRange(). |
|
Returns true if descriptions should be loaded always
Definition at line 5291 of file class.t3lib_tceforms.php. Referenced by getListedFields(), and getMainFields(). |
|
Returns element reference for form element name
Definition at line 3443 of file class.t3lib_tceforms.php. |
|
Extracting values from a value/label list (as made by transferData class)
Definition at line 3383 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). |
|
Adds records from a foreign table (for selector boxes)
Definition at line 3958 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(), t3lib_div::trimExplode(), and t3lib_BEfunc::workspaceOL(). |
|
Format field content of various types if $config['format'] is set to date, filesize, ..., user This is primarily for the field type none but can be used for user field types for example
Definition at line 2454 of file class.t3lib_tceforms.php. References t3lib_div::callUserFunction(), t3lib_div::formatSize(), and t3lib_div::intInRange(). |
|
Get class attribute value for the current field type.
Definition at line 3561 of file class.t3lib_tceforms.php. |
|
Get style CSS values for the current field type.
Definition at line 3550 of file class.t3lib_tceforms.php. |
|
Get style CSS values for the current field type.
Definition at line 3572 of file class.t3lib_tceforms.php. |
|
Returns parameters to set the width for a <input>/<textarea>-element
Definition at line 3507 of file class.t3lib_tceforms.php. |
|
Returns parameters to set with for a textarea field
Definition at line 3534 of file class.t3lib_tceforms.php. |
|
Returns an array of available languages (to use for FlexForms)
Definition at line 5303 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 properties.
Definition at line 3115 of file class.t3lib_tceforms.php. |
|
Returns array of elements from clipboard to insert into GROUP element box.
Definition at line 3066 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). |
|
Gets default record. Maybe not used anymore. FE-editor?
Definition at line 5056 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 4235 of file class.t3lib_tceforms.php. Referenced by getListedFields(), and getMainFields(). |
|
Create dynamic tab menu
Definition at line 3613 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 2598 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 2646 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). Referenced by getMainFields(). |
|
Get icon (for example for selector boxes)
Definition at line 3340 of file class.t3lib_tceforms.php. References t3lib_div::getFileAbsFileName(). |
|
Creates language-overlay for a field value This means the requested field value will be overridden with the data from the default language. Can be used to render read only fields for example.
Definition at line 2806 of file class.t3lib_tceforms.php. |
|
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 613 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 5136 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 418 of file class.t3lib_tceforms.php. References $excludeElements, doLoadTableDescr(), getDivider(), getExcludeElements(), getFieldsToAdd(), getLL(), getPaletteFields(), getRTypeNum(), getSingleField(), t3lib_div::getUserObj(), t3lib_div::loadTCA(), mergeFieldsWithAddedFields(), rearrange(), resetSchemes(), setColorScheme(), sL(), t3lib_div::trimExplode(), and wrapBorder(). |
|
Creates a palette (collection of secondary options).
Definition at line 654 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(). |
|
Return record path (visually formatted, using t3lib_BEfunc::getRecordPath() )
Definition at line 5095 of file class.t3lib_tceforms.php. References t3lib_BEfunc::fixVersioningPid(), and t3lib_BEfunc::getRecordPath(). |
|
Calculate and return the current "types" pointer value for a record
Definition at line 2546 of file class.t3lib_tceforms.php. Referenced by getMainFields(), getPaletteFields(), and getSoloField(). |
|
Returns the form HTML code for a database table field.
Definition at line 730 of file class.t3lib_tceforms.php. References addUserTemplateMarkers(), t3lib_div::deHSCentities(), getLL(), getSingleField_SW(), helpText(), helpTextIcon(), t3lib_div::inList(), intoTemplate(), isDisplayCondition(), isPalettesCollapsed(), t3lib_div::loadTCA(), renderDefaultLanguageContent(), renderDefaultLanguageDiff(), setTSconfig(), t3lib_iconWorks::skinImg(), sL(), t3lib_div::testInt(), thisReturnUrl(), and wrapOpenPalette(). Referenced by getListedFields(), getMainFields(), getPaletteFields(), and getSoloField(). |
|
Rendering a single item for the form
Definition at line 886 of file class.t3lib_tceforms.php. References getSingleField_typeCheck(), getSingleField_typeFlex(), getSingleField_typeGroup(), getSingleField_typeInput(), getSingleField_typeNone(), getSingleField_typeRadio(), getSingleField_typeSelect(), getSingleField_typeText(), getSingleField_typeUnknown(), and getSingleField_typeUser(). Referenced by getSingleField(). |
|
Generation of TCEform elements of the type "check" This will render a check-box OR an array of checkboxes
Definition at line 1153 of file class.t3lib_tceforms.php. References checkBoxParams(), initItemArray(), procItems(), and wrapLabels(). Referenced by getSingleField_SW(). |
|
Handler for Flex Forms
Definition at line 2026 of file class.t3lib_tceforms.php. References t3lib_div::_GP(), t3lib_BEfunc::getFlexFormDS(), t3lib_div::resolveSheetDefInDS(), t3lib_div::xml2array(), and t3lib_div::xmlGetHeaderAttribs(). Referenced by getSingleField_SW(). |
|
[Describe function...]
Definition at line 2217 of file class.t3lib_tceforms.php. References t3lib_div::fixed_lgd_cs(), and t3lib_div::inList(). |
|
Creates the language menu for FlexForms:
Definition at line 2163 of file class.t3lib_tceforms.php. |
|
Creates the menu for selection of the sheets:
Definition at line 2182 of file class.t3lib_tceforms.php. |
|
Generation of TCEform elements of the type "group" This will render a selectorbox into which elements from either the file system or database can be inserted. Relations.
Definition at line 1779 of file class.t3lib_tceforms.php. References t3lib_div::fixed_lgd_cs(), t3lib_div::getFileAbsFileName(), t3lib_BEfunc::getFileIcon(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecordWSOL(), t3lib_div::intInRange(), t3lib_BEfunc::splitTable_Uid(), and t3lib_div::trimExplode(). Referenced by getSingleField_SW(). |
|
Generation of TCEform elements of the type "input" This will render a single-line input form field, possibly with various control/validation features
Definition at line 959 of file class.t3lib_tceforms.php. References getSingleField_typeNone_render(), getSpecConfFromString(), t3lib_div::getUserObj(), t3lib_div::intInRange(), renderWizards(), and t3lib_div::trimExplode(). Referenced by getSingleField_SW(). |
|
Generation of TCEform elements of the type "none" This will render a non-editable display of the content of the field.
Definition at line 1948 of file class.t3lib_tceforms.php. Referenced by getSingleField_SW(). |
|
HTML rendering of a value which is not editable.
Definition at line 1964 of file class.t3lib_tceforms.php. References t3lib_div::intInRange(). Referenced by getSingleField_typeInput(), and getSingleField_typeText(). |
|
Generation of TCEform elements of the type "radio" This will render a series of radio buttons.
Definition at line 1219 of file class.t3lib_tceforms.php. Referenced by getSingleField_SW(). |
|
Generation of TCEform elements of the type "select" This will render a selector box element, or possibly a special construction with two selector boxes. That depends on configuration.
Definition at line 1254 of file class.t3lib_tceforms.php. References t3lib_div::inList(), and t3lib_div::trimExplode(). Referenced by getSingleField_SW(). |
|
Creates a checkbox list (renderMode = "checkbox") (Render function for getSingleField_typeSelect())
Definition at line 1451 of file class.t3lib_tceforms.php. References t3lib_div::deHSCentities(). |
|
Creates a multiple-selector box (two boxes, side-by-side) (Render function for getSingleField_typeSelect())
Definition at line 1680 of file class.t3lib_tceforms.php. References t3lib_div::intInRange(), and t3lib_div::trimExplode(). |
|
Creates a single-selector box (Render function for getSingleField_typeSelect())
Definition at line 1334 of file class.t3lib_tceforms.php. |
|
Creates a selectorbox list (renderMode = "singlebox") (Render function for getSingleField_typeSelect())
Definition at line 1570 of file class.t3lib_tceforms.php. References t3lib_div::deHSCentities(), and t3lib_div::intInRange(). |
|
Generation of TCEform elements of the type "text" This will render a <textarea> OR RTE area form field, possibly with various control/validation features
Definition at line 1040 of file class.t3lib_tceforms.php. References t3lib_parsehtml_proc::evalWriteFile(), t3lib_BEfunc::fixVersioningPid(), t3lib_div::formatForTextarea(), getLL(), t3lib_BEfunc::getPagesTSconfig(), getSingleField_typeNone_render(), getSpecConfFromString(), t3lib_BEfunc::getSpecConfParametersFromArray(), t3lib_BEfunc::getTCAtypeValue(), getTSCpid(), t3lib_div::intInRange(), renderWizards(), t3lib_BEfunc::RTEgetObj(), and t3lib_BEfunc::RTEsetup(). Referenced by getSingleField_SW(). |
|
Handler for unknown types.
Definition at line 2410 of file class.t3lib_tceforms.php. Referenced by getSingleField_SW(). |
|
User defined field type
Definition at line 2425 of file class.t3lib_tceforms.php. References t3lib_div::callUserFunction(). Referenced by getSingleField_SW(). |
|
Returns the form field for a single HIDDEN field. (Not used anywhere...?)
Definition at line 3485 of file class.t3lib_tceforms.php. References t3lib_div::loadTCA(). |
|
Will return the TCEform element for just a single field from a record. The field must be listed in the currently displayed fields (as found in [types][showitem]) for the record. This also means that the $table/$row supplied must be complete so the list of fields to show can be found correctly
Definition at line 379 of file class.t3lib_tceforms.php. References $excludeElements, getExcludeElements(), getRTypeNum(), getSingleField(), t3lib_div::loadTCA(), and t3lib_div::trimExplode(). |
|
Returns the "special" configuration (from the "types" "showitem" list) for a fieldname based on input table/record (Not used anywhere...?)
Definition at line 2725 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getTCAtypes(). |
|
Returns the "special" configuration of an "extra" string (non-parsed)
Definition at line 2746 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getSpecConfParts(). Referenced by getSingleField_typeInput(), and getSingleField_typeText(). |
|
Return TSCpid (cached) Using t3lib_BEfunc::getTSCpid()
Definition at line 5277 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getTSCpid(). Referenced by getSingleField_typeText(). |
|
Returns help text DESCRIPTION, if configured for.
Definition at line 4316 of file class.t3lib_tceforms.php. Referenced by getSingleField(). |
|
Returns help-text ICON if configured for.
Definition at line 4296 of file class.t3lib_tceforms.php. Referenced by getSingleField(). |
|
Initialize various internal variables.
Definition at line 334 of file class.t3lib_tceforms.php. References setNewBEDesign(). |
|
Initialize item array (for checkbox, selectorbox, radio buttons) Will resolve the label value.
Definition at line 3652 of file class.t3lib_tceforms.php. Referenced by getSingleField_typeCheck(). |
|
Return default "style" / "class" attribute line.
Definition at line 3594 of file class.t3lib_tceforms.php. |
|
This inserts the content of $inArr into the field-template
Definition at line 4094 of file class.t3lib_tceforms.php. Referenced by getPaletteFields(), and getSingleField(). |
|
Returns true, if the evaluation of the required-field code is OK.
Definition at line 5173 of file class.t3lib_tceforms.php. References t3lib_div::inList(), and t3lib_extMgm::isLoaded(). Referenced by getSingleField(). |
|
Returns true, if the palette, $palette, is collapsed (not shown, but found in top-frame) for the table.
Definition at line 5157 of file class.t3lib_tceforms.php. Referenced by getPaletteFields(), and getSingleField(). |
|
JavaScript code used for input-field evaluation. Example use:
$msg.='Distribution time (hh:mm dd-mm-yy): ... and then include the result of this function after the form
Definition at line 4465 of file class.t3lib_tceforms.php. |
|
JavaScript code added BEFORE the form is drawn:
Definition at line 4414 of file class.t3lib_tceforms.php. |
|
Merges the current [types][showitem] array with the array of fields to add for the current subtype field of the "type" value.
Definition at line 2671 of file class.t3lib_tceforms.php. Referenced by getMainFields(). |
|
Returns the "No title" string if the input $str is empty.
Definition at line 3454 of file class.t3lib_tceforms.php. |
|
Creates style attribute content for option tags in a selector box, primarily setting it up to show the icon of an element as background image (works in mozilla)
Definition at line 3367 of file class.t3lib_tceforms.php. References t3lib_div::intInRange(). |
|
Prints necessary JavaScript for TCEforms (after the form HTML).
Definition at line 4981 of file class.t3lib_tceforms.php. |
|
Returns necessary JavaScript for the top
Definition at line 5008 of file class.t3lib_tceforms.php. |
|
Creates HTML output for a palette
Reimplemented in t3lib_TCEforms_FE, formRender, and formRender_vert. Definition at line 4245 of file class.t3lib_tceforms.php. Referenced by getPaletteFields(). |
|
Perform user processing of the items arrays of checkboxes, selectorboxes and radio buttons.
Definition at line 3692 of file class.t3lib_tceforms.php. References t3lib_div::callUserFunction(). Referenced by getSingleField_typeCheck(). |
|
Returns the select-page read-access SQL clause. Returns cached string, so you can call this function as much as you like without performance loss.
Definition at line 5109 of file class.t3lib_tceforms.php. |
|
Used to adhoc-rearrange the field order normally set in the [types][showitem] list
Definition at line 2572 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). Referenced by getMainFields(). |
|
Will register data from original language records if the current record is a translation of another. The original data is shown with the edited record in the form. The information also includes possibly diff-views of what changed in the original record. Function called from outside (see alt_doc.php + quick edit) before rendering a form for a record
Definition at line 2774 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getRecordWSOL(). |
|
Renders the display of default language record content around current field. Will render content if any is found in the internal array, $this->defaultLanguageData, depending on registerDefaultLanguageData() being called prior to this.
Definition at line 2834 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getProcessedValue(). Referenced by getSingleField(). |
|
Renders the diff-view of default language record content compared with what the record was originally translated from. Will render content if any is found in the internal array, $this->defaultLanguageData, depending on registerDefaultLanguageData() being called prior to this.
Definition at line 2857 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getProcessedValue(), and t3lib_div::makeInstance(). Referenced by getSingleField(). |
|
Rendering wizards for form fields.
Definition at line 3136 of file class.t3lib_tceforms.php. References t3lib_div::callUserFunction(), t3lib_div::getFileAbsFileName(), t3lib_div::implodeArrayForUrl(), t3lib_div::intExplode(), t3lib_div::intInRange(), and t3lib_div::testInt(). Referenced by getSingleField_typeInput(), and getSingleField_typeText(). |
|
This replaces markers in the total wrap
Definition at line 4155 of file class.t3lib_tceforms.php. References t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), t3lib_BEfunc::getTSconfig_pidValue(), and t3lib_BEfunc::titleAltAttrib(). |
|
Reset color schemes.
Definition at line 4361 of file class.t3lib_tceforms.php. Referenced by getMainFields(), and t3lib_TCEforms(). |
|
Restore the saved color scheme
Definition at line 4384 of file class.t3lib_tceforms.php. |
|
Replaces colorscheme markers in the template string
Definition at line 4215 of file class.t3lib_tceforms.php. |
|
Setting the current color scheme ($this->colorScheme) based on $this->defColorScheme plus input string.
Definition at line 4337 of file class.t3lib_tceforms.php. References t3lib_div::trimExplode(). Referenced by getMainFields(). |
|
Sets the design to the backend design. Backend
Definition at line 4039 of file class.t3lib_tceforms.php. Referenced by initDefaultBEmode(). |
|
Returns TSconfig for table/row Multiple requests to this function will return cached content so there is no performance loss in calling this many times since the information is looked up only once.
Definition at line 2703 of file class.t3lib_tceforms.php. References t3lib_BEfunc::getTCEFORM_TSconfig(). Referenced by getSingleField(). |
|
Fetches language label for key
Definition at line 5123 of file class.t3lib_tceforms.php. Referenced by getMainFields(), and getSingleField(). |
|
Store current color scheme
Definition at line 4372 of file class.t3lib_tceforms.php. |
|
Returns the "returnUrl" of the form. Can be set externally or will be taken from "t3lib_div::linkThisScript()"
Definition at line 3472 of file class.t3lib_tceforms.php. References t3lib_div::linkThisScript(). Referenced by getSingleField(). |
|
Wraps an element in the $out_array with the template row for a "section" ($this->sectionWrap)
Definition at line 4193 of file class.t3lib_tceforms.php. Referenced by getMainFields(). |
|
Wrapping labels Currently not implemented - just returns input value.
Reimplemented in t3lib_TCEforms_FE. Definition at line 4129 of file class.t3lib_tceforms.php. Referenced by getSingleField_typeCheck(). |
|
Wraps a string with a link to the palette.
Definition at line 3405 of file class.t3lib_tceforms.php. Referenced by getPaletteFields(), and getSingleField(). |
|
Wraps all the table rows into a single table. Used externally from scripts like alt_doc.php and db_layout.php (which uses TCEforms...)
Definition at line 4142 of file class.t3lib_tceforms.php. |