TYPO3
7.6
|
Public Member Functions | |
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) | |
Protected Member Functions | |
getRootLine () | |
getDatabaseConnection () | |
getLanguageService () | |
getDocumentTemplate () | |
Protected Member Functions inherited from TemplateService | |
getTypoScriptSourceFileContent ($filePath, $baseName) | |
addDefaultTypoScript () | |
getDatabaseConnection () | |
getTypoScriptFrontendController () | |
getTimeTracker () | |
Protected Attributes | |
$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) |
TSParser extension class to TemplateService Contains functions for the TS module in TYPO3 backend
Definition at line 33 of file ExtendedTemplateService.php.
ext_categorizeEditableConstants | ( | $editConstArray | ) |
array | $editConstArray |
Definition at line 1000 of file ExtendedTemplateService.php.
Referenced by ConfigurationForm\ext_setValueArray().
ext_compareFlatSetups | ( | $default | ) |
This function compares the flattened constants (default and all). Returns an array with the constants from the whole template which may be edited by the module.
array | $default |
Definition at line 919 of file ExtendedTemplateService.php.
References ExtendedTemplateService\getLanguageService().
ext_depthKeys | ( | $arr, | |
$settings | |||
) |
array | $arr | |
array | $settings |
Definition at line 1510 of file ExtendedTemplateService.php.
ext_fixed_lgd | ( | $string, | |
$chars | |||
) |
Returns a new string of max. $chars length If the string is longer, it will be truncated and prepended with '...' $chars must be an integer of at least 4
string | $string | |
int | $chars |
Definition at line 803 of file ExtendedTemplateService.php.
References GeneralUtility\fixed_lgd_cs().
Referenced by ExtendedTemplateService\ext_formatTS(), and ExtendedTemplateService\ext_getObjTree().
ext_fNandV | ( | $params | ) |
ext_formatTS | ( | $input, | |
$ln, | |||
$comments = true , |
|||
$crop = false |
|||
) |
string | $input | |
bool | $ln | |
bool | $comments | |
bool | $crop |
Definition at line 836 of file ExtendedTemplateService.php.
References elseif, ExtendedTemplateService\ext_fixed_lgd(), and ExtendedTemplateService\ext_lnBreakPointWrap().
Referenced by ExtendedTemplateService\ext_outputTS().
ext_getAllTemplates | ( | $id | ) |
int | $id |
Definition at line 891 of file ExtendedTemplateService.php.
References ExtendedTemplateService\getDatabaseConnection(), and BackendUtility\workspaceOL().
ext_getCategoryLabelArray | ( | ) |
Definition at line 1021 of file ExtendedTemplateService.php.
Referenced by ConfigurationForm\ext_getCategoriesForModMenu().
ext_getFirstTemplate | ( | $id, | |
$template_uid = 0 |
|||
) |
int | $id | |
int | $template_uid |
Definition at line 871 of file ExtendedTemplateService.php.
References ExtendedTemplateService\getDatabaseConnection(), and BackendUtility\workspaceOL().
Referenced by ExtendedTemplateService\ext_prevPageWithTemplate().
ext_getKeyImage | ( | $key | ) |
string | $key |
Definition at line 1113 of file ExtendedTemplateService.php.
References GeneralUtility\logDeprecatedFunction().
ext_getObjTree | ( | $arr, | |
$depth_in, | |||
$depthData, | |||
$parentType = '' , |
|||
$parentValue = '' , |
|||
$alphaSort = '0' |
|||
) |
Get object tree
array | $arr | |
string | $depth_in | |
string | $depthData | |
string | $parentType | (unused) |
string | $parentValue | (unused) |
string | $alphaSort | sorts the array keys / tree by alphabet when set to 1 |
Definition at line 411 of file ExtendedTemplateService.php.
References ExtendedTemplateService\$ext_expandAllNotes, $GLOBALS, GeneralUtility\_GP(), MathUtility\canBeInterpretedAsInteger(), ExtendedTemplateService\ext_fixed_lgd(), GeneralUtility\inList(), and ExtendedTemplateService\lineNumberToScript().
ext_getRootlineNumber | ( | $pid | ) |
int | $pid |
Definition at line 656 of file ExtendedTemplateService.php.
References ExtendedTemplateService\getRootLine().
ext_getSearchKeys | ( | $arr, | |
$depth_in, | |||
$searchString, | |||
$keyArray | |||
) |
array | $arr | |
string | $depth_in | |
string | $searchString | |
array | $keyArray |
Exception |
Definition at line 591 of file ExtendedTemplateService.php.
ext_getSetup | ( | $theSetup, | |
$theKey | |||
) |
array | $theSetup | |
string | $theKey |
Definition at line 382 of file ExtendedTemplateService.php.
ext_getTSCE_config | ( | $category | ) |
string | $category |
Definition at line 1077 of file ExtendedTemplateService.php.
References MathUtility\canBeInterpretedAsInteger(), and ExtendedTemplateService\ext_getTSCE_config_image().
Referenced by ConfigurationForm\ext_makeHelpInformationForCategory().
ext_getTSCE_config_image | ( | $imgConf | ) |
string | $imgConf |
Definition at line 1123 of file ExtendedTemplateService.php.
References $GLOBALS, elseif, GeneralUtility\getFileAbsFileName(), and PathUtility\stripPathSitePrefix().
Referenced by ExtendedTemplateService\ext_getTSCE_config().
ext_getTypeData | ( | $type | ) |
string | $type |
Definition at line 1037 of file ExtendedTemplateService.php.
References GeneralUtility\inList(), and GeneralUtility\intExplode().
Referenced by ExtendedTemplateService\ext_procesInput().
ext_lnBreakPointWrap | ( | $lineNumber, | |
$str | |||
) |
int | $lineNumber | Line Number |
array | $str |
Definition at line 823 of file ExtendedTemplateService.php.
Referenced by ExtendedTemplateService\ext_formatTS().
ext_outputTS | ( | array | $config, |
$lineNumbers = false , |
|||
$comments = false , |
|||
$crop = false , |
|||
$syntaxHL = false , |
|||
$syntaxHLBlockmode = 0 |
|||
) |
Get formatted HTML output for TypoScript either with Syntaxhiglighting or in plain mode
array | $config | Array with simple strings of typoscript code. |
bool | $lineNumbers | Prepend linNumbers to each line. |
bool | $comments | Enable including comments in output. |
bool | $crop | Enable cropping of long lines. |
bool | $syntaxHL | Enrich output with syntaxhighlighting. |
int | $syntaxHLBlockmode |
Definition at line 777 of file ExtendedTemplateService.php.
References ExtendedTemplateService\ext_formatTS(), and GeneralUtility\makeInstance().
ext_prevPageWithTemplate | ( | $id, | |
$perms_clause | |||
) |
int | $id | |
string | $perms_clause |
Definition at line 1656 of file ExtendedTemplateService.php.
References TemplateService\$rootLine, BackendUtility\BEgetRootLine(), and ExtendedTemplateService\ext_getFirstTemplate().
ext_procesInput | ( | $http_post_vars, | |
$http_post_files, | |||
$theConstants, | |||
$tplRow | |||
) |
Proces input
array | $http_post_vars | |
array | $http_post_files | (not used anymore) |
array | $theConstants | |
array | $tplRow | Not used |
Definition at line 1544 of file ExtendedTemplateService.php.
References ExtendedTemplateService\ext_getTypeData(), ExtendedTemplateService\ext_putValueInConf(), ExtendedTemplateService\ext_removeValueInConf(), MathUtility\forceIntegerInRange(), and GeneralUtility\inList().
ext_process_hierarchyInfo | ( | array | $depthDataArr, |
& | $pointer | ||
) |
Processes the flat array from TemplateService->hierarchyInfo and turns it into a hierachical array to show dependencies (used by TemplateAnalyzer)
array | $depthDataArr | (empty array on external call) |
int | &$pointer | Element number (1! to count()) of $this->hierarchyInfo that should be processed. |
Definition at line 747 of file ExtendedTemplateService.php.
ext_putValueInConf | ( | $key, | |
$var | |||
) |
string | $key | |
string | $var |
Definition at line 1473 of file ExtendedTemplateService.php.
Referenced by ExtendedTemplateService\ext_procesInput().
ext_regObjectPositions | ( | $constants | ) |
string | $constants |
Definition at line 1414 of file ExtendedTemplateService.php.
References TemplateService\$constants, and ExtendedTemplateService\ext_regObjects().
ext_regObjects | ( | $pre | ) |
string | $pre |
Definition at line 1429 of file ExtendedTemplateService.php.
References elseif.
Referenced by ExtendedTemplateService\ext_regObjectPositions().
ext_removeValueInConf | ( | $key | ) |
string | $key |
Definition at line 1495 of file ExtendedTemplateService.php.
Referenced by ExtendedTemplateService\ext_procesInput().
|
protected |
Definition at line 1678 of file ExtendedTemplateService.php.
References $GLOBALS.
Referenced by ExtendedTemplateService\ext_getAllTemplates(), and ExtendedTemplateService\ext_getFirstTemplate().
|
protected |
Definition at line 1694 of file ExtendedTemplateService.php.
References $GLOBALS.
|
protected |
Definition at line 1686 of file ExtendedTemplateService.php.
References $GLOBALS.
Referenced by ExtendedTemplateService\ext_compareFlatSetups(), and ConfigurationForm\ext_getForm().
|
protected |
Definition at line 1670 of file ExtendedTemplateService.php.
References $GLOBALS.
Referenced by ExtendedTemplateService\ext_getRootlineNumber().
lineNumberToScript | ( | array | $lnArr | ) |
Find the originating template name for an array of line numbers (TypoScript setup only!) Given an array of linenumbers the method will try to find the corresponding template where this line originated The linenumber indicates the last lineNumber that is part of the template
lineNumbers are in sync with the calculated lineNumbers '.ln..' in TypoScriptParser
array | $lnArr | Array with linenumbers (might have some extra symbols, for example for unsetting) to be processed |
Definition at line 542 of file ExtendedTemplateService.php.
Referenced by ExtendedTemplateService\ext_getObjTree().
makeHtmlspecialchars | ( | $theValue | ) |
array | $theValue |
Definition at line 577 of file ExtendedTemplateService.php.
References GeneralUtility\logDeprecatedFunction().
substituteCMarkers | ( | $all | ) |
Subsitute markers
string | $all |
Definition at line 319 of file ExtendedTemplateService.php.
substituteConstants | ( | $all | ) |
Substitute constant
string | $all |
Definition at line 282 of file ExtendedTemplateService.php.
substituteConstantsCallBack | ( | $matches | ) |
Call back method for preg_replace_callback in substituteConstants
array | $matches | Regular expression matches |
Definition at line 295 of file ExtendedTemplateService.php.
$backend_info = true |
Definition at line 109 of file ExtendedTemplateService.php.
$bType = '' |
Definition at line 239 of file ExtendedTemplateService.php.
$categories |
Definition at line 51 of file ExtendedTemplateService.php.
|
protected |
Definition at line 70 of file ExtendedTemplateService.php.
$changed = false |
Definition at line 254 of file ExtendedTemplateService.php.
$clearList_const_temp |
Definition at line 224 of file ExtendedTemplateService.php.
$clearList_setup_temp |
Definition at line 229 of file ExtendedTemplateService.php.
|
protected |
Definition at line 234 of file ExtendedTemplateService.php.
$constantMode = '' |
Definition at line 133 of file ExtendedTemplateService.php.
$doNotSortCategoriesBeforeMakingForm = false |
Definition at line 207 of file ExtendedTemplateService.php.
$edit_divider = '###MOD_TS:EDITABLE_CONSTANTS###' |
Definition at line 41 of file ExtendedTemplateService.php.
$ext_CEformName = 'forms[0]' |
Definition at line 202 of file ExtendedTemplateService.php.
$ext_dontCheckIssetValues = 0 |
Definition at line 192 of file ExtendedTemplateService.php.
$ext_expandAllNotes = 0 |
Definition at line 163 of file ExtendedTemplateService.php.
Referenced by ExtendedTemplateService\ext_getObjTree().
$ext_inBrace = 0 |
Definition at line 116 of file ExtendedTemplateService.php.
$ext_lineNumberOffset = 0 |
Definition at line 148 of file ExtendedTemplateService.php.
$ext_lineNumberOffset_mode = '' |
Definition at line 185 of file ExtendedTemplateService.php.
$ext_listOfTemplatesArr = array() |
Definition at line 180 of file ExtendedTemplateService.php.
$ext_localGfxPrefix = '' |
Definition at line 153 of file ExtendedTemplateService.php.
$ext_localWebGfxPrefix = '' |
Definition at line 158 of file ExtendedTemplateService.php.
$ext_noPMicons = 0 |
Definition at line 168 of file ExtendedTemplateService.php.
$ext_noSpecialCharsOnLabels = 0 |
Definition at line 175 of file ExtendedTemplateService.php.
$ext_printAll = 0 |
Definition at line 197 of file ExtendedTemplateService.php.
$fixedLgd = '' |
Definition at line 143 of file ExtendedTemplateService.php.
$helpConfig = array() |
Definition at line 249 of file ExtendedTemplateService.php.
$HTMLcolorList = 'aqua,beige,black,blue,brown,fuchsia,gold,gray,green,lime,maroon,navy,olive,orange,purple,red,silver,tan,teal,turquoise,yellow,white' |
Definition at line 46 of file ExtendedTemplateService.php.
$lastComment = '' |
Definition at line 274 of file ExtendedTemplateService.php.
$linkObjects = false |
Definition at line 244 of file ExtendedTemplateService.php.
|
protected |
Definition at line 219 of file ExtendedTemplateService.php.
|
protected |
Definition at line 259 of file ExtendedTemplateService.php.
$raw = array() |
Definition at line 264 of file ExtendedTemplateService.php.
$rawP = 0 |
Definition at line 269 of file ExtendedTemplateService.php.
$regexMode = '' |
Definition at line 138 of file ExtendedTemplateService.php.
$subCategories |
Definition at line 77 of file ExtendedTemplateService.php.
$templateTitles = array() |
Definition at line 214 of file ExtendedTemplateService.php.
$tsbrowser_depthKeys = array() |
Definition at line 128 of file ExtendedTemplateService.php.
$tsbrowser_searchKeys = array() |
Definition at line 123 of file ExtendedTemplateService.php.