TYPO3  7.6
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ConfigurationForm Class Reference
Inheritance diagram for ConfigurationForm:
ExtendedTemplateService TemplateService

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 ExtendedTemplateService
 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_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=true, $crop=false)
 
 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_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 TemplateService
 getProcessExtensionStatics ()
 
 setProcessExtensionStatics ($processExtensionStatics)
 
 setVerbose ($verbose)
 
 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)
 
 substituteConstants ($all)
 
 substituteConstantsCallBack ($matches)
 
 splitConfArray ($conf, $splitCount)
 
 getFileName ($fileFromSetup)
 
 printTitle ($pageTitle, $noTitle=false, $showTitleFirst=false, $pageTitleSeparator= '')
 
 fileContent ($fileName)
 
 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 = true
 
 $ext_incomingValues = array()
 
- Public Attributes inherited from 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 = true
 
 $ext_inBrace = 0
 
 $tsbrowser_searchKeys = array()
 
 $tsbrowser_depthKeys = array()
 
 $constantMode = ''
 
 $regexMode = ''
 
 $fixedLgd = ''
 
 $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()
 
 $clearList_const_temp
 
 $clearList_setup_temp
 
 $bType = ''
 
 $linkObjects = false
 
 $helpConfig = array()
 
 $changed = false
 
 $raw = array()
 
 $rawP = 0
 
 $lastComment = ''
 
- Public Attributes inherited from TemplateService
 $tt_track = true
 
 $forceTemplateParsing = false
 
 $matchAlternative = array()
 
 $matchAll = false
 
 $backend_info = false
 
 $ext_constants_BRP = 0
 
 $ext_config_BRP = 0
 
 $ext_regLinenumbers = false
 
 $ext_regComments = false
 
 $tempPath = 'typo3temp/'
 
 $whereClause = ''
 
 $debug = false
 
 $allowedPaths = array()
 
 $simulationHiddenOrTime = 0
 
 $loaded = false
 
 $setup = array()
 
 $flatSetup = array()
 
 $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 = ''
 

Protected Attributes

 $ext_realValues = array()
 
 $ext_backPath = ''
 
- Protected Attributes inherited from ExtendedTemplateService
 $categoryLabels = array()
 
 $lnToScript = null
 
 $Cmarker = ''
 
 $objReg = array()
 
- Protected Attributes inherited from TemplateService
 $verbose = false
 
 $templateIncludePaths = array()
 
 $extensionStaticsProcessed = false
 
 $processExtensionStatics = false
 
 $isDefaultTypoScriptAdded = false
 
 $processIncludesHasBeenRun = false
 

Additional Inherited Members

- Static Public Member Functions inherited from TemplateService
static sortedKeyList ($setupArr, $acceptOnlyProperties=false)
 
- Protected Member Functions inherited from ExtendedTemplateService
 getRootLine ()
 
 getDatabaseConnection ()
 
 getLanguageService ()
 
 getDocumentTemplate ()
 

Detailed Description

Provides a simplified layer for making Constant Editor style configuration forms

Definition at line 23 of file ConfigurationForm.php.

Member Function Documentation

ext_displayExample ( )

Display example

Returns
string

Definition at line 160 of file ConfigurationForm.php.

Referenced by ConfigurationForm\ext_getForm().

ext_fNandV (   $params)
Parameters
array$params
Returns
array

Definition at line 213 of file ConfigurationForm.php.

ext_getCategoriesForModMenu ( )
Returns
array

Definition at line 109 of file ConfigurationForm.php.

References ExtendedTemplateService\ext_getCategoryLabelArray().

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

Definition at line 134 of file ConfigurationForm.php.

References ConfigurationForm\ext_displayExample(), ConfigurationForm\ext_makeHelpInformationForCategory(), ExtendedTemplateService\getLanguageService(), GeneralUtility\linkThisScript(), GeneralUtility\quoteJSvalue(), and GeneralUtility\wrapJS().

ext_getKeyImage (   $key)
Parameters
string$key
Returns
string
Deprecated:
since TYPO3 CMS 7, will be removed with TYPO3 CMS 8

Definition at line 191 of file ConfigurationForm.php.

References GeneralUtility\logDeprecatedFunction().

ext_getTSCE_config_image (   $imgConf)
Parameters
string$imgConf
Returns
string

Definition at line 201 of file ConfigurationForm.php.

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
array

Definition at line 67 of file ConfigurationForm.php.

ext_makeHelpInformationForCategory (   $cat)
Parameters
string$cat
Returns
void

Definition at line 118 of file ConfigurationForm.php.

References ExtendedTemplateService\ext_getTSCE_config().

Referenced by ConfigurationForm\ext_getForm().

ext_mergeIncomingWithExisting (   $arr)

Merge incoming with existing

Parameters
array$arr
Returns
array

Definition at line 177 of file ConfigurationForm.php.

References GeneralUtility\makeInstance(), and ArrayUtility\mergeRecursiveWithOverrule().

ext_putValueInConf (   $key,
  $var 
)
Parameters
string$key
string$var
Returns
void

Definition at line 232 of file ConfigurationForm.php.

ext_removeValueInConf (   $key)
Parameters
string$key
Returns
void

Definition at line 241 of file ConfigurationForm.php.

ext_setValueArray (   $theConstants,
  $valueArray 
)

Ext set value array

Parameters
array$theConstants
array$valueArray
Returns
array

Definition at line 87 of file ConfigurationForm.php.

References TemplateService\$flatSetup, ExtendedTemplateService\ext_categorizeEditableConstants(), and TemplateService\flattenSetup().

Member Data Documentation

$categories = array()

Definition at line 28 of file ConfigurationForm.php.

$ext_backPath = ''
protected

Definition at line 58 of file ConfigurationForm.php.

$ext_CEformName = 'tsStyleConfigForm'

Definition at line 38 of file ConfigurationForm.php.

$ext_dontCheckIssetValues = 1

Definition at line 33 of file ConfigurationForm.php.

$ext_incomingValues = array()

Definition at line 48 of file ConfigurationForm.php.

$ext_printAll = true

Definition at line 43 of file ConfigurationForm.php.

$ext_realValues = array()
protected

Definition at line 53 of file ConfigurationForm.php.