TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\TypoScript\ConfigurationForm Class Reference
Inheritance diagram for TYPO3\CMS\Core\TypoScript\ConfigurationForm:
TYPO3\CMS\Core\TypoScript\ExtendedTemplateService TYPO3\CMS\Core\TypoScript\TemplateService t3lib_tsStyleConfig

Public Member Functions

 ext_initTSstyleConfig ($configTemplate, $pathRel, $pathAbs, $backPath)
 
 ext_setValueArray ($theConstants, $valueArray)
 
 ext_getCategoriesForModMenu ()
 
 ext_makeHelpInformationForCategory ($cat)
 
 ext_getForm ($cat, $theConstants, $script='', $addFields='', $extKey='', $addFormTag=TRUE)
 
 ext_displayExample ()
 
 ext_mergeIncomingWithExisting ($arr)
 
 ext_getKeyImage ($key)
 
 ext_getTSCE_config_image ($imgConf)
 
 ext_fNandV ($params)
 
 ext_putValueInConf ($key, $var)
 
 ext_removeValueInConf ($key)
 
- Public Member Functions inherited from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
 flattenSetup ($setupArray, $prefix, $resourceFlag)
 
 substituteConstants ($all)
 
 substituteConstantsCallBack ($matches)
 
 substituteCMarkers ($all)
 
 ext_getSetup ($theSetup, $theKey)
 
 ext_getObjTree ($arr, $depth_in, $depthData, $parentType='', $parentValue='', $alphaSort='0')
 
 lineNumberToScript (array $lnArr)
 
 makeHtmlspecialchars ($theValue)
 
 ext_getSearchKeys ($arr, $depth_in, $searchString, $keyArray)
 
 ext_getRootlineNumber ($pid)
 
 ext_getTemplateHierarchyArr ($arr, $depthData, $keyArray, $first=0)
 
 ext_process_hierarchyInfo (array $depthDataArr, &$pointer)
 
 ext_outputTS (array $config, $lineNumbers=FALSE, $comments=FALSE, $crop=FALSE, $syntaxHL=FALSE, $syntaxHLBlockmode=0)
 
 ext_fixed_lgd ($string, $chars)
 
 ext_lnBreakPointWrap ($lineNumber, $str)
 
 ext_formatTS ($input, $ln, $comments=1, $crop=0)
 
 ext_getFirstTemplate ($id, $template_uid=0)
 
 ext_getAllTemplates ($id)
 
 ext_compareFlatSetups ($default)
 
 ext_categorizeEditableConstants ($editConstArray)
 
 ext_getCategoryLabelArray ()
 
 ext_getTypeData ($type)
 
 ext_getTSCE_config ($category)
 
 ext_getKeyImage ($key)
 
 ext_getTSCE_config_image ($imgConf)
 
 ext_fNandV ($params)
 
 ext_printFields ($theConstants, $category)
 
 ext_regObjectPositions ($constants)
 
 ext_regObjects ($pre)
 
 ext_putValueInConf ($key, $var)
 
 ext_removeValueInConf ($key)
 
 ext_depthKeys ($arr, $settings)
 
 ext_procesInput ($http_post_vars, $http_post_files, $theConstants, $tplRow)
 
 ext_prevPageWithTemplate ($id, $perms_clause)
 
- Public Member Functions inherited from TYPO3\CMS\Core\TypoScript\TemplateService
 getProcessExtensionStatics ()
 
 setProcessExtensionStatics ($processExtensionStatics)
 
 init ()
 
 getCurrentPageData ()
 
 runThroughTemplates ($theRootLine, $start_template_uid=0)
 
 processTemplate ($row, $idList, $pid, $templateID='', $templateParent='', $includePath='')
 
 updateRootlineData ($fullRootLine)
 
 includeStaticTypoScriptSources ($idList, $templateID, $pid, $row)
 
 addExtensionStatics ($idList, $templateID, $pid, $row)
 
 prependStaticExtra ($subrow)
 
 versionOL (&$row)
 
 processIncludes ()
 
 flattenSetup ($setupArray, $prefix, $resourceFlag)
 
 substituteConstants ($all)
 
 substituteConstantsCallBack ($matches)
 
 splitConfArray ($conf, $splitCount)
 
 getFileName ($fileFromSetup)
 
 printTitle ($pageTitle, $noTitle=FALSE, $showTitleFirst=FALSE)
 
 fileContent ($fName)
 
 wrap ($content, $wrap)
 
 removeQueryString ($url)
 
 getRootlineLevel ($list)
 
 linkData ($page, $oTarget, $no_cache, $script, $overrideArray=NULL, $addParams='', $typeOverride='', $targetDomain='')
 
 getFromMPmap ($pageId=0)
 
 initMPmap_create ($id, $MP_array=array(), $level=0)
 

Public Attributes

 $categories = array()
 
 $ext_dontCheckIssetValues = 1
 
 $ext_CEformName = 'tsStyleConfigForm'
 
 $ext_printAll = 1
 
 $ext_incomingValues = array()
 
- Public Attributes inherited from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
 $edit_divider = '###MOD_TS:EDITABLE_CONSTANTS###'
 
 $HTMLcolorList = 'aqua,beige,black,blue,brown,fuchsia,gold,gray,green,lime,maroon,navy,olive,orange,purple,red,silver,tan,teal,turquoise,yellow,white'
 
 $categories
 
 $subCategories
 
 $backend_info = 1
 
 $ext_inBrace = 0
 
 $tsbrowser_searchKeys = array()
 
 $tsbrowser_depthKeys = array()
 
 $constantMode = ''
 
 $regexMode = ''
 
 $fixedLgd = ''
 
 $resourceCheck = 0
 
 $ext_lineNumberOffset = 0
 
 $ext_localGfxPrefix = ''
 
 $ext_localWebGfxPrefix = ''
 
 $ext_expandAllNotes = 0
 
 $ext_noPMicons = 0
 
 $ext_noSpecialCharsOnLabels = 0
 
 $ext_listOfTemplatesArr = array()
 
 $ext_lineNumberOffset_mode = ''
 
 $ext_dontCheckIssetValues = 0
 
 $ext_printAll = 0
 
 $ext_CEformName = 'forms[0]'
 
 $doNotSortCategoriesBeforeMakingForm = FALSE
 
 $templateTitles = array()
 
- Public Attributes inherited from TYPO3\CMS\Core\TypoScript\TemplateService
 $tt_track = 1
 
 $forceTemplateParsing = 0
 
 $matchAlternative = array()
 
 $matchAll = 0
 
 $backend_info = 0
 
 $getFileName_backPath = ''
 
 $ext_constants_BRP = 0
 
 $ext_config_BRP = 0
 
 $ext_regLinenumbers = FALSE
 
 $ext_regComments = FALSE
 
 $tempPath = 'typo3temp/'
 
 $whereClause = ''
 
 $debug = 0
 
 $allowedPaths = array()
 
 $simulationHiddenOrTime = 0
 
 $loaded = 0
 
 $setup
 
 $flatSetup = array()
 
 $const
 
 $config = array()
 
 $constants = array()
 
 $hierarchyInfo = array()
 
 $hierarchyInfoToRoot = array()
 
 $nextLevel = 0
 
 $rootId
 
 $rootLine
 
 $absoluteRootLine
 
 $outermostRootlineIndexWithTemplate = 0
 
 $rowSum
 
 $sitetitle = ''
 
 $sections
 
 $sectionsMatch
 
 $clearList_const = array()
 
 $clearList_setup = array()
 
 $parserErrors = array()
 
 $setup_constants = array()
 
 $fileCache = array()
 
 $frames = array()
 
 $MPmap = ''
 

Additional Inherited Members

- Static Public Member Functions inherited from TYPO3\CMS\Core\TypoScript\TemplateService
static sortedKeyList ($setupArr, $acceptOnlyProperties=FALSE)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\TypoScript\TemplateService
 addDefaultTypoScript ()
 
- Protected Attributes inherited from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
 $categoryLabels = array()
 
 $lnToScript = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Core\TypoScript\TemplateService
 $templateIncludePaths = array()
 
 $extensionStaticsProcessed = FALSE
 
 $processExtensionStatics = FALSE
 
 $isDefaultTypoScriptAdded = FALSE
 
 $processIncludesHasBeenRun = FALSE
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Provides a simplified layer for making Constant Editor style configuration forms

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 21 of file ConfigurationForm.php.

Member Function Documentation

◆ ext_displayExample()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_displayExample ( )

[Describe function...]

Returns
[type] ...
Todo:
Define visibility

Definition at line 154 of file ConfigurationForm.php.

Referenced by TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_getForm().

◆ ext_fNandV()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_fNandV (   $params)

[Describe function...]

Parameters
[type]$params: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 205 of file ConfigurationForm.php.

◆ ext_getCategoriesForModMenu()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_getCategoriesForModMenu ( )

[Describe function...]

Returns
[type] ...
Todo:
Define visibility

Definition at line 101 of file ConfigurationForm.php.

References TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getCategoryLabelArray().

◆ ext_getForm()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_getForm (   $cat,
  $theConstants,
  $script = '',
  $addFields = '',
  $extKey = '',
  $addFormTag = TRUE 
)

Get the form for extension configuration

Parameters
string$cat
array$theConstants
string$script
string$addFields
string$extKey
booleanAdds opening <form> tag to the ouput, if TRUE
Returns
string The form
Todo:
Define visibility

Definition at line 128 of file ConfigurationForm.php.

References $GLOBALS, TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_displayExample(), TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_makeHelpInformationForCategory(), TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_printFields(), TYPO3\CMS\Core\Utility\GeneralUtility\linkThisScript(), TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue(), and TYPO3\CMS\Core\Utility\GeneralUtility\wrapJS().

◆ ext_getKeyImage()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_getKeyImage (   $key)
Todo:
Define visibility

Definition at line 180 of file ConfigurationForm.php.

References TYPO3\CMS\Backend\Utility\IconUtility\skinImg().

◆ ext_getTSCE_config_image()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_getTSCE_config_image (   $imgConf)

[Describe function...]

Parameters
[type]$imgConf: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 191 of file ConfigurationForm.php.

◆ ext_initTSstyleConfig()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_initTSstyleConfig (   $configTemplate,
  $pathRel,
  $pathAbs,
  $backPath 
)
Parameters
string$configTemplate
string$pathRelPathRel is the path relative to the typo3/ directory
string$pathAbsPathAbs is the absolute path from root
string$backPathBackPath is the backReference from current position to typo3/ dir
Returns
[type] ...
Todo:
Define visibility

Definition at line 57 of file ConfigurationForm.php.

◆ ext_makeHelpInformationForCategory()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_makeHelpInformationForCategory (   $cat)

[Describe function...]

Parameters
[type]$cat: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 112 of file ConfigurationForm.php.

References TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_getTSCE_config().

Referenced by TYPO3\CMS\Core\TypoScript\ConfigurationForm\ext_getForm().

◆ ext_mergeIncomingWithExisting()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_mergeIncomingWithExisting (   $arr)

[Describe function...]

Parameters
[type]$arr: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 168 of file ConfigurationForm.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

◆ ext_putValueInConf()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_putValueInConf (   $key,
  $var 
)

[Describe function...]

Parameters
[type]$key: ...
[type]$var: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 225 of file ConfigurationForm.php.

◆ ext_removeValueInConf()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_removeValueInConf (   $key)

[Describe function...]

Parameters
[type]$key: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 236 of file ConfigurationForm.php.

◆ ext_setValueArray()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_setValueArray (   $theConstants,
  $valueArray 
)

[Describe function...]

Parameters
[type]$theConstants: ...
[type]$valueArray: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 77 of file ConfigurationForm.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\$flatSetup, TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_categorizeEditableConstants(), and TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\flattenSetup().

Member Data Documentation

◆ $categories

TYPO3\CMS\Core\TypoScript\ConfigurationForm::$categories = array()
Todo:
Define visibility

Definition at line 27 of file ConfigurationForm.php.

◆ $ext_CEformName

TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_CEformName = 'tsStyleConfigForm'
Todo:
Define visibility

Definition at line 37 of file ConfigurationForm.php.

◆ $ext_dontCheckIssetValues

TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_dontCheckIssetValues = 1
Todo:
Define visibility

Definition at line 32 of file ConfigurationForm.php.

◆ $ext_incomingValues

TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_incomingValues = array()
Todo:
Define visibility

Definition at line 47 of file ConfigurationForm.php.

◆ $ext_printAll

TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_printAll = 1
Todo:
Define visibility

Definition at line 42 of file ConfigurationForm.php.