‪TYPO3CMS  9.5
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 TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait

Public Member Functions

 __construct (Context $context=null)
 
array ext_initTSstyleConfig ($configTemplate)
 
array ext_setValueArray ($theConstants, $valueArray)
 
array ext_getCategoriesForModMenu ()
 
string ext_getForm ($cat, $theConstants, $script='', $addFields='', $extKey='', $addFormTag=true)
 
array ext_mergeIncomingWithExisting ($arr)
 
array ext_fNandV ($params)
 
 ext_putValueInConf ($key, $var)
 
 ext_removeValueInConf ($key)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
array getInlineJavaScript ()
 
string substituteConstants ($all)
 
string substituteConstantsCallBack ($matches)
 
string substituteCMarkers ($all)
 
array generateConfig_constants ()
 
array ext_getSetup ($theSetup, $theKey)
 
string ext_getObjTree ($arr, $depth_in, $depthData, $parentType='', $parentValue='', $alphaSort='0')
 
array lineNumberToScript (array $lnArr)
 
array ext_getSearchKeys ($arr, $depth_in, $searchString, $keyArray)
 
int ext_getRootlineNumber ($pid)
 
array ext_getTemplateHierarchyArr ($arr, $depthData, $keyArray, $first=0)
 
array ext_process_hierarchyInfo (array $depthDataArr, &$pointer)
 
string ext_outputTS (array $config, $lineNumbers=false, $comments=false, $crop=false, $syntaxHL=false, $syntaxHLBlockmode=0)
 
string ext_fixed_lgd ($string, $chars)
 
string ext_lnBreakPointWrap ($lineNumber, $str)
 
string ext_formatTS ($input, $ln, $comments=true, $crop=false)
 
array null ext_getFirstTemplate ($pid, $templateUid=0)
 
array[] ext_getAllTemplates ($pid)
 
array ext_compareFlatSetups ($default)
 
 ext_categorizeEditableConstants ($editConstArray)
 
array ext_getCategoryLabelArray ()
 
array ext_getTypeData ($type)
 
string ext_printFields ($theConstants, $category)
 
 ext_regObjectPositions ($constants)
 
 ext_regObjects ($pre)
 
array ext_depthKeys ($arr, $settings)
 
 ext_procesInput ($http_post_vars, $http_post_files, $theConstants, $tplRow)
 
array ext_prevPageWithTemplate ($id, $perms_clause)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\TypoScript\TemplateService
 __construct (Context $context=null, PackageManager $packageManager=null)
 
bool getProcessExtensionStatics ()
 
 setProcessExtensionStatics ($processExtensionStatics)
 
 setVerbose ($verbose)
 
 init ()
 
array getCurrentPageData ()
 
array matching ($cc)
 
 start ($theRootLine)
 
 runThroughTemplates ($theRootLine, $start_template_uid=0)
 
 processTemplate ($row, $idList, $pid, $templateID='', $templateParent='', $includePath='')
 
 updateRootlineData ($fullRootLine)
 
 includeStaticTypoScriptSources ($idList, $templateID, $pid, $row)
 
 addExtensionStatics ($idList, $templateID, $pid)
 
 generateConfig ()
 
string null getFileName ($fileFromSetup)
 
string printTitle ($pageTitle, $noTitle=false, $showTitleFirst=false, $pageTitleSeparator='')
 
int getRootlineLevel ($list)
 
int getRootId ()
 
array linkData ($page, $oTarget, $no_cache, $_=null, $overrideArray=null, $addParams='', $typeOverride='', $targetDomain='')
 
string getFromMPmap ($pageId=0)
 
 initMPmap_create ($id, $MP_array=[], $level=0)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
bool __isset (string $propertyName)
 
mixed __get (string $propertyName)
 
 __set (string $propertyName, $propertyValue)
 
 __unset (string $propertyName)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
mixed __call (string $methodName, array $arguments)
 

Public Attributes

array $categories = array( )
 
bool $ext_dontCheckIssetValues = 1
 
string $ext_CEformName = 'tsStyleConfigForm'
 
bool $ext_printAll = true
 
array $ext_incomingValues = array( )
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
array $categories
 
array $subCategories
 
int $ext_inBrace = 0
 
array $tsbrowser_searchKeys = array( )
 
array $tsbrowser_depthKeys = array( )
 
string $constantMode = ''
 
string $regexMode = ''
 
string $fixedLgd = ''
 
int $ext_lineNumberOffset = 0
 
int $ext_expandAllNotes = 0
 
int $ext_noPMicons = 0
 
array $ext_listOfTemplatesArr = array( )
 
string $ext_lineNumberOffset_mode = ''
 
int $ext_dontCheckIssetValues = 0
 
int $ext_printAll = 0
 
string $ext_CEformName = 'forms[0]'
 
bool $doNotSortCategoriesBeforeMakingForm = false
 
array $templateTitles = array( )
 
array $clearList_const_temp
 
array $clearList_setup_temp
 
string $bType = ''
 
bool $linkObjects = false
 
bool $changed = false
 
array $raw = array( )
 
int $rawP = 0
 
string $lastComment = ''
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\TypoScript\TemplateService
bool $tt_track = true
 
bool $forceTemplateParsing = false
 
array $matchAlternative = array( )
 
int $ext_constants_BRP = 0
 
int $ext_config_BRP = 0
 
bool $ext_regLinenumbers = false
 
bool $ext_regComments = false
 
bool $loaded = false
 
array $setup = array( )
 
array $flatSetup = array( )
 
array $config = array( )
 
array $constants = array( )
 
array $hierarchyInfo = array( )
 
array $rootLine
 
array null $sections
 
 $clearList_const = array( )
 
array $clearList_setup = array( )
 
array $parserErrors = array( )
 
array $setup_constants = array( )
 

Protected Attributes

array $ext_realValues = array( )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
array $categoryLabels = array( )
 
array null $lnToScript
 
int[] $objReg = array( )
 
array $inlineJavaScript = array( )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\TypoScript\TemplateService
array $deprecatedPublicProperties
 
array $deprecatedPublicMethods
 
bool $verbose = false
 
bool $matchAll = false
 
string $whereClause = ''
 
bool $debug = false
 
array $allowedPaths = array( )
 
int $simulationHiddenOrTime = 0
 
array $templateIncludePaths = array( )
 
array $hierarchyInfoToRoot = array( )
 
int $nextLevel = 0
 
int $rootId
 
array $absoluteRootLine
 
int $outermostRootlineIndexWithTemplate = 0
 
array $rowSum
 
string $sitetitle = ''
 
array $sectionsMatch
 
array $fileCache = array( )
 
array $frames = array( )
 
string $MPmap = ''
 
bool $extensionStaticsProcessed = false
 
bool $processExtensionStatics = false
 
bool $isDefaultTypoScriptAdded = false
 
bool $processIncludesHasBeenRun = false
 
AbstractRestrictionContainer $queryBuilderRestrictions
 
Context $context
 
PackageManager $packageManager
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
QueryBuilder getTemplateQueryBuilder (int $pid)
 
array getRootLine ()
 
LanguageService getLanguageService ()
 
DocumentTemplate getDocumentTemplate ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\TypoScript\TemplateService
 initializeDatabaseQueryRestrictions ()
 
string getTypoScriptSourceFileContent ($filePath, $baseName)
 
array prependStaticExtra ($subrow)
 
 versionOL (&$row)
 
 processIncludes ()
 
array mergeConstantsFromPageTSconfig ($constArray)
 
array mergeConstantsFromIncludedTsConfigFiles ($filesToInclude, $TSdataArray)
 
 flattenSetup ($setupArray, $prefix)
 
 addDefaultTypoScript ()
 
TypoScriptFrontendController getTypoScriptFrontendController ()
 
TimeTracker getTimeTracker ()
 
mixed getCacheEntry ($identifier)
 
 setCacheEntry ($identifier, $data, $tag)
 

Detailed Description

Provides a simplified layer for making Constant Editor style configuration forms

this is only used for the TYPO3 TypoScript Template module, which should not be used in Extensions

Definition at line 26 of file ConfigurationForm.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\TypoScript\ConfigurationForm::__construct ( Context  $context = null)
Parameters
Context | null$context

Reimplemented from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService.

Definition at line 55 of file ConfigurationForm.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\$context.

Member Function Documentation

◆ ext_fNandV()

array TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_fNandV (   $params)
Parameters
array$params
Returns
‪array

Reimplemented from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService.

Definition at line 157 of file ConfigurationForm.php.

◆ ext_getCategoriesForModMenu()

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

◆ ext_getForm()

string 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
bool$addFormTag‪Adds opening <form> tag to the output, if TRUE
Returns
‪string The form

Definition at line 120 of file ConfigurationForm.php.

References TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\ext_printFields(), and TYPO3\CMS\Core\TypoScript\ExtendedTemplateService\getLanguageService().

◆ ext_initTSstyleConfig()

array TYPO3\CMS\Core\TypoScript\ConfigurationForm::ext_initTSstyleConfig (   $configTemplate)
Parameters
string$configTemplate
Returns
‪array

Definition at line 65 of file ConfigurationForm.php.

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

◆ ext_mergeIncomingWithExisting()

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

Merge incoming with existing

Parameters
array$arr
Returns
‪array

Definition at line 144 of file ConfigurationForm.php.

References TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

◆ ext_putValueInConf()

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

Reimplemented from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService.

Definition at line 175 of file ConfigurationForm.php.

◆ ext_removeValueInConf()

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

Reimplemented from TYPO3\CMS\Core\TypoScript\ExtendedTemplateService.

Definition at line 183 of file ConfigurationForm.php.

◆ ext_setValueArray()

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

Member Data Documentation

◆ $categories

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

Definition at line 30 of file ConfigurationForm.php.

◆ $ext_CEformName

string TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_CEformName = 'tsStyleConfigForm'

Definition at line 38 of file ConfigurationForm.php.

◆ $ext_dontCheckIssetValues

bool TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_dontCheckIssetValues = 1

Definition at line 34 of file ConfigurationForm.php.

◆ $ext_incomingValues

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

Definition at line 46 of file ConfigurationForm.php.

◆ $ext_printAll

bool TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_printAll = true

Definition at line 42 of file ConfigurationForm.php.

◆ $ext_realValues

array TYPO3\CMS\Core\TypoScript\ConfigurationForm::$ext_realValues = array( )
protected

Definition at line 50 of file ConfigurationForm.php.