
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=NULL) | |
| 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, $table, $field, $row, &$PA, $formPrefix='', $level=0, $idPrefix='ID', $toggleClosed=FALSE) | |
| 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='') | |
| overrideFieldConf ($fieldConfig, $TSconfig) | |
| getSpecConfForField ($table, $row, $field) | |
| getSpecConfFromString ($extraString, $defaultExtras) | |
| loadPaletteElements ($table, $row, $palette, $itemList='') | |
| registerDefaultLanguageData ($table, $rec) | |
| getLanguageOverlayRawValue ($table, $row, $field, $fieldConf) | |
| renderDefaultLanguageContent ($table, $field, $row, $item) | |
| renderDefaultLanguageDiff ($table, $field, $row, $item) | |
| renderVDEFDiff ($vArray, $vDEFkey) | |
| dbFileIcons ($fName, $mode, $allowed, $itemArray, $selector='', $params=array(), $onFocus='', $table='', $field='', $uid='') | |
| 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) | |
| wrapPaletteField ($code, $table, $row, $palette, $collapsed) | |
| 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, $dividersToTabsBehaviour=1) | |
| 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) | |
| helpTextIcon_typeFlex ($field, $fieldTitle, $cshFile) | |
| helpText_typeFlex ($field, $fieldTitle, $cshFile) | |
| setColorScheme ($scheme) | |
| resetSchemes () | |
| storeSchemes () | |
| restoreSchemes () | |
| JStop () | |
| JSbottom ($formname='forms[0]', $update=false) | |
| dbFileCon ($formObj='document.forms[0]') | |
| printNeededJSFunctions () | |
| printNeededJSFunctions_top () | |
| loadJavascriptLib ($lib) | |
| 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) | |
| getLanguageIcon ($table, $row, $sys_language_uid) | |
| previewFieldValue ($value, $config) | |
| getAdditionalPreviewLanguages () | |
| pushToDynNestedStack ($type, $ident) | |
| popFromDynNestedStack ($type=null, $ident=null) | |
| getDynNestedStack ($json=false, $skipFirst=false) | |
| addStyleSheet ($key, $href, $title='', $relation='stylesheet') | |
Public Attributes | |
| $palFieldArr = array() | |
| $disableWizards = 0 | |
| $isPalettedoc = 0 | |
| $paletteMargin = 1 | |
| $defStyle = '' | |
| $cachedTSconfig = array() | |
| $cachedTSconfig_fieldLevel = array() | |
| $cachedLanguageFlag = array() | |
| $cachedAdditionalPreviewLanguages = NULL | |
| $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() | |
| $additionalPreviewLanguageData = 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' | |
| $prependCmdFieldNames = 'cmd' | |
| $prependFormFieldNames_file = 'data_files' | |
| $formName = 'editform' | |
| $allowOverrideMatrix = array() | |
| $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() | |
| $requiredAdditional = array() | |
| $requiredElements = array() | |
| $requiredNested = array() | |
| $renderDepth = 0 | |
| $savedSchemes = array() | |
| $dynNestedStack = array() | |
| $additionalCode_pre = array() | |
| $additionalJS_pre = array() | |
| $additionalJS_post = array() | |
| $additionalJS_submit = array() | |
| $additionalJS_delete = array() | |
| $inline | |
| $hookObjectsMainFields = array() | |
| $hookObjectsSingleField = array() | |
| $extraFormHeaders = array() | |
Protected Member Functions | |
| registerRequiredProperty ($type, $name, $value) | |
| registerNestedElement ($itemName, $setLevel=true) | |
Definition at line 197 of file class.t3lib_tceforms.php.
| t3lib_TCEforms::addItems | ( | $ | items, | |
| $ | iArray | |||
| ) |
Merges items into an item-array
| array | The existing item array | |
| array | An array of items to add. NOTICE: The keys are mapped to values, and the values and mapped to be labels. No possibility of adding an icon. |
Definition at line 4211 of file class.t3lib_tceforms.php.
Referenced by getSingleField_typeSelect().
| t3lib_TCEforms::addSelectOptionsToItemArray | ( | $ | items, | |
| $ | fieldValue, | |||
| $ | TSconfig, | |||
| $ | field | |||
| ) |
Add selector box items of more exotic kinds.
| array | The array of items (label,value,icon) | |
| array | The "columns" array for the field (from TCA) | |
| array | TSconfig for the table/row | |
| string | The fieldname |
Definition at line 4257 of file class.t3lib_tceforms.php.
References $GLOBALS, $loadModules, $TCA, addSelectOptionsToItemArray_makeModuleData(), foreignTable(), t3lib_div::getAllFilesAndFoldersInPath(), t3lib_BEfunc::getExcludeFields(), t3lib_BEfunc::getExplicitAuthFieldValues(), t3lib_div::getFileAbsFileName(), getIcon(), t3lib_iconWorks::getIcon(), t3lib_BEfunc::getSystemLanguages(), t3lib_div::inList(), t3lib_div::intInRange(), t3lib_div::makeInstance(), t3lib_div::removePrefixPathFromList(), and sL().
Referenced by getSingleField_typeSelect(), and renderWizards().
| t3lib_TCEforms::addSelectOptionsToItemArray_makeModuleData | ( | $ | value | ) |
Creates value/label pair for a backend module (main and sub)
| string | The module key |
Definition at line 4477 of file class.t3lib_tceforms.php.
References $GLOBALS, and $value.
Referenced by addSelectOptionsToItemArray().
| t3lib_TCEforms::addStyleSheet | ( | $ | key, | |
| $ | href, | |||
| $ | title = '', |
|||
| $ | relation = 'stylesheet' | |||
| ) |
Insert additional style sheet link
| string | $key: some key identifying the style sheet | |
| string | $href: uri to the style sheet file | |
| string | $title: value for the title attribute of the link element |
void
Reimplemented in t3lib_TCEforms_FE.
Definition at line 6048 of file class.t3lib_tceforms.php.
| t3lib_TCEforms::addUserTemplateMarkers | ( | $ | marker, | |
| $ | table, | |||
| $ | field, | |||
| $ | row, | |||
| &$ | PA | |||
| ) |
Overwrite this function in own extended class to add own markers for output
| array | Array with key/value pairs to insert in the template. | |
| string | The table name of the record | |
| string | The field name which this element is supposed to edit | |
| array | The record data array where the value(s) for the field can be found | |
| array | An array with additional configuration options. |
Definition at line 4661 of file class.t3lib_tceforms.php.
Referenced by getSingleField().
| t3lib_TCEforms::blur | ( | ) |
Returns 'this.blur();' string, if supported.
Definition at line 4001 of file class.t3lib_tceforms.php.
References $GLOBALS.
Referenced by renderWizards().
| t3lib_TCEforms::checkBoxParams | ( | $ | itemName, | |
| $ | thisValue, | |||
| $ | c, | |||
| $ | iCount, | |||
| $ | addFunc = '' | |||
| ) |
Creates checkbox parameters
| string | Form element name | |
| integer | The value of the checkbox (representing checkboxes with the bits) | |
| integer | Checkbox # (0-9?) | |
| integer | Total number of checkboxes in the array. | |
| string | Additional JavaScript for the onclick handler. |
Definition at line 3964 of file class.t3lib_tceforms.php.
References elName().
Referenced by getSingleField_typeCheck().
| t3lib_TCEforms::dbFileCon | ( | $ | formObj = 'document.forms[0]' |
) |
Used to connect the db/file browser with this document and the formfields on it!
| string | Form object reference (including "document.") |
Definition at line 5256 of file class.t3lib_tceforms.php.
| t3lib_TCEforms::dbFileIcons | ( | $ | fName, | |
| $ | mode, | |||
| $ | allowed, | |||
| $ | itemArray, | |||
| $ | selector = '', |
|||
| $ | params = array(), |
|||
| $ | onFocus = '', |
|||
| $ | table = '', |
|||
| $ | field = '', |
|||
| $ | uid = '' | |||
| ) |
Prints the selector box form-field for the db/file/select elements (multiple)
| string | Form element name | |
| string | Mode "db", "file" (internal_type for the "group" type) OR blank (then for the "select" type) | |
| string | Commalist of "allowed" | |
| array | The array of items. For "select" and "group"/"file" this is just a set of value. For "db" its an array of arrays with table/uid pairs. | |
| string | Alternative selector box. | |
| array | An array of additional parameters, eg: "size", "info", "headers" (array with "selector" and "items"), "noBrowser", "thumbnails" | |
| string | On focus attribute string | |
| string | $table: (optional) Table name processing for | |
| string | $field: (optional) Field of table name processing for | |
| string | $uid: (optional) uid of table record processing for |
Definition at line 3426 of file class.t3lib_tceforms.php.
References $GLOBALS, getClipboardElements(), getLL(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), t3lib_div::intInRange(), and wrapLabels().
Referenced by getSingleField_typeGroup(), and getSingleField_typeSelect_multiple().
| t3lib_TCEforms::doLoadTableDescr | ( | $ | table | ) |
Returns true if descriptions should be loaded always
| string | Table for which to check |
Definition at line 5799 of file class.t3lib_tceforms.php.
References $TCA.
Referenced by getListedFields(), getMainFields(), helpText(), and helpTextIcon().
| t3lib_TCEforms::elName | ( | $ | itemName | ) |
Returns element reference for form element name
| string | Form element name |
Definition at line 3978 of file class.t3lib_tceforms.php.
Referenced by checkBoxParams(), getSingleField_typeFlex_sheetMenu(), getSingleField_typeSelect_checkbox(), getSingleField_typeSelect_single(), getSingleField_typeSelect_singlebox(), and renderWizards().
| t3lib_TCEforms::extractValuesOnlyFromValueLabelList | ( | $ | itemFormElValue | ) |
Extracting values from a value/label list (as made by transferData class)
| string | Value string where values are comma separated, intermixed with labels and rawurlencoded (this is what is delivered to TCEforms normally!) | |
| array | Values in an array |
Definition at line 3912 of file class.t3lib_tceforms.php.
References t3lib_div::trimExplode().
Referenced by getSingleField_typeSelect_checkbox(), and getSingleField_typeSelect_singlebox().
| t3lib_TCEforms::foreignTable | ( | $ | items, | |
| $ | fieldValue, | |||
| $ | TSconfig, | |||
| $ | field, | |||
| $ | pFFlag = 0 | |||
| ) |
Adds records from a foreign table (for selector boxes)
| array | The array of items (label,value,icon) | |
| array | The 'columns' array for the field (from TCA) | |
| array | TSconfig for the table/row | |
| string | The fieldname | |
| boolean | If set, then we are fetching the 'neg_' foreign tables. |
Definition at line 4499 of file class.t3lib_tceforms.php.
References $GLOBALS, $res, $row, $TCA, t3lib_BEfunc::exec_foreign_table_where_query(), t3lib_iconWorks::getIcon(), t3lib_BEfunc::getRecordTitle(), t3lib_div::inList(), sL(), t3lib_div::trimExplode(), and t3lib_BEfunc::workspaceOL().
Referenced by addSelectOptionsToItemArray().
| t3lib_TCEforms::formatValue | ( | $ | config, | |
| $ | itemValue | |||
| ) |
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
| array | Configuration for the display | |
| string | The value to display |
Definition at line 2839 of file class.t3lib_tceforms.php.
References $GLOBALS, $value, t3lib_div::callUserFunction(), t3lib_div::formatSize(), t3lib_div::intInRange(), and sL().
Referenced by getSingleField_typeNone_render().
| t3lib_TCEforms::formElClass | ( | $ | type | ) |
Get class attribute value for the current field type.
| string | Field type (eg. "check", "radio", "select") |
Definition at line 4099 of file class.t3lib_tceforms.php.
References formElStyleClassValue().
Referenced by formWidth(), and insertDefStyle().
| t3lib_TCEforms::formElStyle | ( | $ | type | ) |
Get style CSS values for the current field type.
| string | Field type (eg. "check", "radio", "select") |
Definition at line 4088 of file class.t3lib_tceforms.php.
References formElStyleClassValue().
| t3lib_TCEforms::formElStyleClassValue | ( | $ | type, | |
| $ | class = FALSE | |||
| ) |
Get style CSS values for the current field type.
| string | Field type (eg. "check", "radio", "select") | |
| boolean | If set, will return value only if prefixed with CLASS, otherwise must not be prefixed "CLASS" |
Definition at line 4110 of file class.t3lib_tceforms.php.
Referenced by formElClass(), and formElStyle().
| t3lib_TCEforms::formWidth | ( | $ | size = 48, |
|
| $ | textarea = 0 | |||
| ) |
Returns parameters to set the width for a <input>/<textarea>-element
| integer | The abstract size value (1-48) | |
| boolean | If this is for a text area. |
Definition at line 4045 of file class.t3lib_tceforms.php.
References $GLOBALS, and formElClass().
Referenced by formWidthText().
| t3lib_TCEforms::formWidthText | ( | $ | size = 48, |
|
| $ | wrap = '' | |||
| ) |
Returns parameters to set with for a textarea field
| integer | The abstract width (1-48) | |
| string | Empty or "off" (text wrapping in the field or not) |
Definition at line 4072 of file class.t3lib_tceforms.php.
References $GLOBALS, and formWidth().
Referenced by getSingleField_typeText().
| t3lib_TCEforms::getAdditionalPreviewLanguages | ( | ) |
Generates and return information about which languages the current user should see in preview, configured by options.additionalPreviewLanguages
return array Array of additional languages to preview
Definition at line 5924 of file class.t3lib_tceforms.php.
References $GLOBALS, t3lib_BEfunc::getRecord(), t3lib_div::intExplode(), and t3lib_extMgm::isLoaded().
Referenced by getSingleField_typeFlex_draw(), registerDefaultLanguageData(), and renderDefaultLanguageContent().
| t3lib_TCEforms::getAvailableLanguages | ( | $ | onlyIsoCoded = 1, |
|
| $ | setDefault = 1 | |||
| ) |
Returns an array of available languages (to use for FlexForms)
| boolean | If set, only languages which are paired with a static_info_table / static_language record will be returned. | |
| boolean | If set, an array entry for a default language is set. |
Definition at line 5811 of file class.t3lib_tceforms.php.
References $GLOBALS, $res, $row, t3lib_BEfunc::deleteClause(), t3lib_BEfunc::getRecord(), and t3lib_extMgm::isLoaded().
Referenced by getSingleField_typeFlex().
| t3lib_TCEforms::getClickMenu | ( | $ | str, | |
| $ | table, | |||
| $ | uid = '' | |||
| ) |
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.
| string | The icon HTML to wrap | |
| string | Table name (eg. "pages" or "tt_content") OR the absolute path to the file | |
| integer | The uid of the record OR if file, just blank value. |
Definition at line 3637 of file class.t3lib_tceforms.php.
References $GLOBALS.
Referenced by getSingleField_typeGroup().
| t3lib_TCEforms::getClipboardElements | ( | $ | allowed, | |
| $ | mode | |||
| ) |
Returns array of elements from clipboard to insert into GROUP element box.
| string | Allowed elements, Eg "pages,tt_content", "gif,jpg,jpeg,png" | |
| string | Mode of relations: "db" or "file" |
Definition at line 3588 of file class.t3lib_tceforms.php.
References t3lib_div::trimExplode().
Referenced by dbFileIcons().
| t3lib_TCEforms::getDefaultRecord | ( | $ | table, | |
| $ | pid = 0 | |||
| ) |
Gets default record. Maybe not used anymore. FE-editor?
| string | Database Tablename | |
| integer | PID value (positive / negative) |
Definition at line 5564 of file class.t3lib_tceforms.php.
References $GLOBALS, $pid, $res, $row, $TCA, t3lib_BEfunc::deleteClause(), and t3lib_div::loadTCA().
| t3lib_TCEforms::getDivider | ( | ) |
Returns divider. Currently not implemented and returns only blank value.
Definition at line 4777 of file class.t3lib_tceforms.php.
Referenced by getListedFields(), and getMainFields().
| t3lib_TCEforms::getDynNestedStack | ( | $ | json = false, |
|
| $ | skipFirst = false | |||
| ) |
Get the dynNestedStack as associative array. The result is e.g. ['tab','DTM-ABCD-1'], ['inline','data[13][table][uid][field]'], ['tab','DTM-DEFG-2'], ...
| boolean | $json: Return a JSON string instead of an array - default: false | |
| boolean | $skipFirst: Skip the first element in the dynNestedStack - default: false |
Definition at line 5989 of file class.t3lib_tceforms.php.
| t3lib_TCEforms::getDynTabMenu | ( | $ | parts, | |
| $ | idString, | |||
| $ | dividersToTabsBehaviour = 1 | |||
| ) |
Create dynamic tab menu
| array | Parts for the tab menu, fed to template::getDynTabMenu() | |
| string | ID string for the tab menu | |
| integer | If set to '1' empty tabs will be removed, If set to '2' empty tabs will be disabled |
Definition at line 4154 of file class.t3lib_tceforms.php.
References $GLOBALS.
Referenced by getMainFields(), and getSingleField_typeFlex().
| t3lib_TCEforms::getExcludeElements | ( | $ | table, | |
| $ | row, | |||
| $ | typeNum | |||
| ) |
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
| string | Table name, MUST be in $TCA | |
| array | A record from table. | |
| string | A "type" pointer value, probably the one calculated based on the record array. |
Definition at line 2987 of file class.t3lib_tceforms.php.
References $excludeElements, $row, $TCA, t3lib_div::intInRange(), t3lib_div::testInt(), and t3lib_div::trimExplode().
Referenced by getMainFields(), getSoloField(), and loadPaletteElements().
| t3lib_TCEforms::getFieldsToAdd | ( | $ | table, | |
| $ | row, | |||
| $ | typeNum | |||
| ) |
Finds possible field to add to the form, based on subtype fields.
| string | Table name, MUST be in $TCA | |
| array | A record from table. | |
| string | A "type" pointer value, probably the one calculated based on the record array. |
Definition at line 3035 of file class.t3lib_tceforms.php.
References $row, $TCA, and t3lib_div::trimExplode().
Referenced by getMainFields().
| t3lib_TCEforms::getIcon | ( | $ | icon | ) |
Get icon (for example for selector boxes)
| string | Icon reference |
Definition at line 3862 of file class.t3lib_tceforms.php.
References t3lib_div::getFileAbsFileName(), and t3lib_iconWorks::skinImg().
Referenced by addSelectOptionsToItemArray(), getSingleField_typeSelect_checkbox(), getSingleField_typeSelect_single(), optionTagStyle(), and renderWizards().
| t3lib_TCEforms::getLanguageIcon | ( | $ | table, | |
| $ | row, | |||
| $ | sys_language_uid | |||
| ) |
Initializes language icons etc.
param string Table name param array Record param string Sys language uid OR ISO language code prefixed with "v", eg. "vDA"
Definition at line 5847 of file class.t3lib_tceforms.php.
References $row, $TCA, t3lib_BEfunc::fixVersioningPid(), t3lib_div::makeInstance(), nbsp, and t3lib_div::testInt().
Referenced by getSingleField_typeFlex_draw().
| t3lib_TCEforms::getLanguageOverlayRawValue | ( | $ | table, | |
| $ | row, | |||
| $ | field, | |||
| $ | fieldConf | |||
| ) |
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.
| string | Table name of the record being edited | |
| string | Field name represented by $item | |
| array | Record array of the record being edited in current language | |
| array | Content of $PA['fieldConf'] |
Definition at line 3278 of file class.t3lib_tceforms.php.
| t3lib_TCEforms::getListedFields | ( | $ | table, | |
| $ | row, | |||
| $ | list | |||
| ) |
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 fie