Öffentliche Methoden | |
| ext_initTSstyleConfig ($configTemplate, $pathRel, $pathAbs, $backPath) | |
| ext_setValueArray ($theConstants, $valueArray) | |
| ext_getCategoriesForModMenu () | |
| ext_makeHelpInformationForCategory ($cat) | |
| ext_getForm ($cat, $theConstants, $script="", $addFields="") | |
| ext_displayExample () | |
| ext_mergeIncomingWithExisting ($arr) | |
| ext_getKeyImage ($key) | |
| ext_getTSCE_config_image ($imgConf) | |
| ext_fNandV ($params) | |
| ext_loadResources ($absPath) | |
| ext_putValueInConf ($key, $var) | |
| ext_removeValueInConf ($key) | |
| flattenSetup ($setupArray, $prefix, $resourceFlag) | |
| substituteConstants ($all) | |
| substituteConstantsCallBack ($matches) | |
| substituteCMarkers ($all) | |
| generateConfig_constants () | |
| ext_getSetup ($theSetup, $theKey) | |
| ext_getObjTree ($arr, $depth_in, $depthData, $parentType='', $parentValue='', $alphaSort='0') | |
| lineNumberToScript ($lnArr) | |
| makeHtmlspecialchars ($theValue) | |
| ext_getSearchKeys ($arr, $depth_in, $searchString, $keyArray) | |
| ext_getRootlineNumber ($pid) | |
| ext_getTemplateHierarchyArr ($arr, $depthData, $keyArray, $first=0) | |
| ext_process_hierarchyInfo ($depthDataArr, &$pointer) | |
| ext_outputTS ($config, $lineNumbers=0, $comments=0, $crop=0, $syntaxHL=0, $syntaxHLBlockmode=0) | |
| ext_fixed_lgd ($string, $chars) | |
| ext_lnBreakPointWrap ($ln, $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_resourceDims () | |
| ext_readDirResources ($path) | |
| readDirectory ($path, $type='file') | |
| ext_printFields ($theConstants, $category) | |
| ext_regObjectPositions ($constants) | |
| ext_regObjects ($pre) | |
| ext_depthKeys ($arr, $settings) | |
| ext_procesInput ($http_post_vars, $http_post_files, $theConstants, $tplRow) | |
| upload_copy_file ($typeDat, &$tplRow, $theRealFileName, $tmp_name) | |
| ext_prevPageWithTemplate ($id, $perms_clause) | |
| ext_setStar ($val) | |
| ext_detectAndFixExtensionPrefix ($value) | |
| init () | |
| getCurrentPageData () | |
| matching ($cc) | |
| start ($theRootLine) | |
| runThroughTemplates ($theRootLine, $start_template_uid=0) | |
| processTemplate ($row, $idList, $pid, $templateID='', $templateParent='') | |
| includeStaticTypoScriptSources ($idList, $templateID, $pid, $row) | |
| addExtensionStatics ($idList, $templateID, $pid, $row) | |
| prependStaticExtra ($subrow) | |
| versionOL (&$row) | |
| generateConfig () | |
| procesIncludes () | |
| mergeConstantsFromPageTSconfig ($constArray) | |
| splitConfArray ($conf, $splitCount) | |
| getFileName ($fileFromSetup) | |
| extractFromResources ($res, $file) | |
| checkFile ($name, $menuArr) | |
| printTitle ($title, $no_title=0, $titleFirst=0) | |
| fileContent ($fName) | |
| wrap ($content, $wrap) | |
| removeQueryString ($url) | |
| sortedKeyList ($setupArr, $acceptOnlyProperties=FALSE) | |
| getRootlineLevel ($list) | |
| linkData ($page, $oTarget, $no_cache, $script, $overrideArray='', $addParams='', $typeOverride='') | |
| getFromMPmap ($pageId=0) | |
| initMPmap_create ($id, $MP_array=array(), $level=0) | |
Öffentliche Attribute | |
| $categories = array() | |
| $ext_dontCheckIssetValues = 1 | |
| $ext_CEformName = "tsStyleConfigForm" | |
| $ext_noCEUploadAndCopying = 1 | |
| $ext_printAll = 1 | |
| $ext_defaultOnlineResourceFlag = 1 | |
| $ext_incomingValues = array() | |
| $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' | |
| $subCategories | |
| $resourceDimensions = array() | |
| $dirResources = array() | |
| $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 = '' | |
| $doNotSortCategoriesBeforeMakingForm = FALSE | |
| $templateTitles = array() | |
| $tt_track = 1 | |
| $forceTemplateParsing = 0 | |
| $matchAlternative = array() | |
| $matchAll = 0 | |
| $parseEditorCfgField = 0 | |
| $getFileName_backPath = '' | |
| $ext_constants_BRP = 0 | |
| $ext_config_BRP = 0 | |
| $ext_editorcfg_BRP = 0 | |
| $ext_regLinenumbers = false | |
| $ext_regComments = false | |
| $uplPath = 'uploads/tf/' | |
| $tempPath = 'typo3temp/' | |
| $menuclasses = 'gmenu,tmenu,imgmenu,jsmenu' | |
| $whereClause = '' | |
| $debug = 0 | |
| $allowedPaths = array() | |
| $simulationHiddenOrTime = 0 | |
| $loaded = 0 | |
| $setup | |
| $flatSetup | |
| $const | |
| $config = array() | |
| $constants = array() | |
| $editorcfg = array() | |
| $hierarchyInfo = array() | |
| $hierarchyInfoToRoot = array() | |
| $nextLevel = 0 | |
| $rootId | |
| $rootLine | |
| $absoluteRootLine | |
| $outermostRootlineIndexWithTemplate = 0 | |
| $rowSum | |
| $resources = '' | |
| $sitetitle = '' | |
| $sections | |
| $sectionsMatch | |
| $clearList_const = array() | |
| $clearList_setup = array() | |
| $clearList_editorcfg = array() | |
| $parserErrors = array() | |
| $setup_constants = array() | |
| $fileCache = Array() | |
| $frames = Array() | |
| $MPmap = '' | |
| t3lib_TStemplate::addExtensionStatics | ( | $ | idList, | |
| $ | templateID, | |||
| $ | pid, | |||
| $ | row | |||
| ) | [inherited] |
Adds the default TypoScript files for extensions if any.
| string | A list of already processed template ids including the current; The list is on the form "[prefix]_[uid]" where [prefix] is "sys" for "sys_template" records, "static" for "static_template" records and "ext_" for static include files (from extensions). The list is used to check that the recursive inclusion of templates does not go into circles: Simply it is used to NOT include a template record/file which has already BEEN included somewhere in the recursion. | |
| string | The id of the current template. Same syntax as $idList ids, eg. "sys_123" | |
| array | The PID of the input template record | |
| array | A full TypoScript template record |
| t3lib_TStemplate::checkFile | ( | $ | name, | |
| $ | menuArr | |||
| ) | [inherited] |
CheckFile runs through the $menuArr and checks every file-reference in $name (Not used anywhere)
| string | Property name in the menu array | |
| array | Menu array to traverse |
| t3lib_tsparser_ext::ext_categorizeEditableConstants | ( | $ | editConstArray | ) | [inherited] |
[Describe function...]
| [type] | $editConstArray: ... |
| t3lib_tsparser_ext::ext_compareFlatSetups | ( | $ | default | ) | [inherited] |
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.
| [type] | $default: ... |
| t3lib_tsparser_ext::ext_depthKeys | ( | $ | arr, | |
| $ | settings | |||
| ) | [inherited] |
[Describe function...]
| [type] | $arr: ... | |
| [type] | $settings: ... |
| t3lib_tsparser_ext::ext_detectAndFixExtensionPrefix | ( | $ | value | ) | [inherited] |
[Describe function...]
| [type] | $value: ... |
| t3lib_tsStyleConfig::ext_displayExample | ( | ) |
[Describe function...]
| t3lib_tsparser_ext::ext_fixed_lgd | ( | $ | string, | |
| $ | chars | |||
| ) | [inherited] |
Returns a new string of max. $chars lenght If the string is longer, it will be truncated and prepended with '...' $chars must be an integer of at least 4
| [type] | $string: ... | |
| [type] | $chars: ... |
| t3lib_tsStyleConfig::ext_fNandV | ( | $ | params | ) |
[Describe function...]
| [type] | $params: ... |
Erneute Implementation von t3lib_tsparser_ext.
| t3lib_tsparser_ext::ext_formatTS | ( | $ | input, | |
| $ | ln, | |||
| $ | comments = 1, |
|||
| $ | crop = 0 | |||
| ) | [inherited] |
[Describe function...]
| [type] | $input: ... | |
| [type] | $ln: ... | |
| [type] | $comments: ... | |
| [type] | $crop: ... |
| t3lib_tsparser_ext::ext_getAllTemplates | ( | $ | id | ) | [inherited] |
[Describe function...]
| [type] | $id: ... |
| t3lib_tsStyleConfig::ext_getCategoriesForModMenu | ( | ) |
[Describe function...]
| t3lib_tsparser_ext::ext_getCategoryLabelArray | ( | ) | [inherited] |
[Describe function...]
| t3lib_tsparser_ext::ext_getFirstTemplate | ( | $ | id, | |
| $ | template_uid = 0 | |||
| ) | [inherited] |
[Describe function...]
| [type] | $id: ... | |
| [type] | $template_uid: ... |
| t3lib_tsStyleConfig::ext_getForm | ( | $ | cat, | |
| $ | theConstants, | |||
| $ | script = "", |
|||
| $ | addFields = "" | |||
| ) |
[Describe function...]
| [type] | $cat: ... | |
| [type] | $theConstants: ... | |
| [type] | $script: ... | |
| [type] | $addFields: ... |
| t3lib_tsStyleConfig::ext_getKeyImage | ( | $ | key | ) |
[Describe function...]
| [type] | $key: ... |
Erneute Implementation von t3lib_tsparser_ext.
| t3lib_tsparser_ext::ext_getObjTree | ( | $ | arr, | |
| $ | depth_in, | |||
| $ | depthData, | |||
| $ | parentType = '', |
|||
| $ | parentValue = '', |
|||
| $ | alphaSort = '0' | |||
| ) | [inherited] |
[Describe function...]
| [type] | $arr: ... | |
| [type] | $depth_in: ... | |
| [type] | $depthData: ... | |
| [type] | $parentType: ... | |
| [type] | $parentValue: ... | |
| boolean | $alphaSort sorts the array keys / tree by alphabet when set to 1 |
| t3lib_tsparser_ext::ext_getRootlineNumber | ( | $ | pid | ) | [inherited] |
[Describe function...]
| [type] | $pid: ... |
| t3lib_tsparser_ext::ext_getSearchKeys | ( | $ | arr, | |
| $ | depth_in, | |||
| $ | searchString, | |||
| $ | keyArray | |||
| ) | [inherited] |
[Describe function...]
| [type] | $arr: ... | |
| [type] | $depth_in: ... | |
| [type] | $searchString: ... | |
| [type] | $keyArray: ... |
| t3lib_tsparser_ext::ext_getSetup | ( | $ | theSetup, | |
| $ | theKey | |||
| ) | [inherited] |
[Describe function...]
| [type] | $theSetup: ... | |
| [type] | $theKey: ... |
| t3lib_tsparser_ext::ext_getTemplateHierarchyArr | ( | $ | arr, | |
| $ | depthData, | |||
| $ | keyArray, | |||
| $ | first = 0 | |||
| ) | [inherited] |
[Describe function...]
| [type] | $arr: ... | |
| [type] | $depthData: ... | |
| [type] | $keyArray: ... | |
| [type] | $first: ... |
| t3lib_tsparser_ext::ext_getTSCE_config | ( | $ | category | ) | [inherited] |
[Describe function...]
| [type] | $category: ... |
| t3lib_tsStyleConfig::ext_getTSCE_config_image | ( | $ | imgConf | ) |
[Describe function...]
| [type] | $imgConf: ... |
Erneute Implementation von t3lib_tsparser_ext.
| t3lib_tsparser_ext::ext_getTypeData | ( | $ | type | ) | [inherited] |
[Describe function...]
| [type] | $type: ... |
| t3lib_tsStyleConfig::ext_initTSstyleConfig | ( | $ | configTemplate, | |
| $ | pathRel, | |||
| $ | pathAbs, | |||
| $ | backPath | |||
| ) |
| string | pathRel is the path relative to the typo3/ directory | |
| string | pathAbs is the absolute path from root | |
| string | backPath is the backReference from current position to typo3/ dir | |
| [type] | $backPath: ... |
| t3lib_tsparser_ext::ext_lnBreakPointWrap | ( | $ | ln, | |
| $ | str | |||
| ) | [inherited] |
[Describe function...]
| [type] | $ln: ... | |
| [type] | $str: ... |
| t3lib_tsStyleConfig::ext_loadResources | ( | $ | absPath | ) |
[Describe function...]
| [type] | $absPath: ... |
| t3lib_tsStyleConfig::ext_makeHelpInformationForCategory | ( | $ | cat | ) |
[Describe function...]
| [type] | $cat: ... |
| t3lib_tsStyleConfig::ext_mergeIncomingWithExisting | ( | $ | arr | ) |
[Describe function...]
| [type] | $arr: ... |
| t3lib_tsparser_ext::ext_outputTS | ( | $ | config, | |
| $ | lineNumbers = 0, |
|||
| $ | comments = 0, |
|||
| $ | crop = 0, |
|||
| $ | syntaxHL = 0, |
|||
| $ | syntaxHLBlockmode = 0 | |||
| ) | [inherited] |
[Describe function...]
| [type] | $config: ... | |
| [type] | $lineNumbers: ... | |
| [type] | $comments: ... | |
| [type] | $crop: ... | |
| [type] | $syntaxHL: ... | |
| [type] | $syntaxHLBlockmode: ... |
| t3lib_tsparser_ext::ext_prevPageWithTemplate | ( | $ | id, | |
| $ | perms_clause | |||
| ) | [inherited] |
[Describe function...]
| [type] | $id: ... | |
| [type] | $perms_clause: ... |
| t3lib_tsparser_ext::ext_printFields | ( | $ | theConstants, | |
| $ | category | |||
| ) | [inherited] |
This functions returns the HTML-code that creates the editor-layout of the module.
| [type] | $theConstants: ... | |
| [type] | $category: ... |
| t3lib_tsparser_ext::ext_procesInput | ( | $ | http_post_vars, | |
| $ | http_post_files, | |||
| $ | theConstants, | |||
| $ | tplRow | |||
| ) | [inherited] |
[Describe function...]
| [type] | $http_post_vars: ... | |
| [type] | $http_post_files: ... | |
| [type] | $theConstants: ... | |
| [type] | $tplRow: ... |
| t3lib_tsparser_ext::ext_process_hierarchyInfo | ( | $ | depthDataArr, | |
| &$ | pointer | |||
| ) | [inherited] |
[Describe function...]
| [type] | $depthDataArr: ... | |
| [type] | $pointer: ... |
| t3lib_tsStyleConfig::ext_putValueInConf | ( | $ | key, | |
| $ | var | |||
| ) |
[Describe function...]
| [type] | $key: ... | |
| [type] | $var: ... |
Erneute Implementation von t3lib_tsparser_ext.
| t3lib_tsparser_ext::ext_readDirResources | ( | $ | path | ) | [inherited] |
[Describe function...]
| [type] | $path: ... |
| t3lib_tsparser_ext::ext_regObjectPositions | ( | $ | constants | ) | [inherited] |
| [type] | $constants: ... |
| t3lib_tsparser_ext::ext_regObjects | ( | $ | pre | ) | [inherited] |
[Describe function...]
| [type] | $pre: ... |
| t3lib_tsStyleConfig::ext_removeValueInConf | ( | $ | key | ) |
[Describe function...]
| [type] | $key: ... |
Erneute Implementation von t3lib_tsparser_ext.
| t3lib_tsparser_ext::ext_resourceDims | ( | ) | [inherited] |
[Describe function...]
| t3lib_tsparser_ext::ext_setStar | ( | $ | val | ) | [inherited] |
[Describe function...]
| [type] | $val: ... |
| t3lib_tsStyleConfig::ext_setValueArray | ( | $ | theConstants, | |
| $ | valueArray | |||
| ) |
[Describe function...]
| [type] | $theConstants: ... | |
| [type] | $valueArray: ... |
| t3lib_TStemplate::extractFromResources | ( | $ | res, | |
| $ | file | |||
| ) | [inherited] |
Searches for the TypoScript resource filename in the list of resource filenames.
| string | The resource file name list (from $this->setup['resources']) | |
| string | The resource value to match |
| t3lib_TStemplate::fileContent | ( | $ | fName | ) | [inherited] |
Reads the fileContent of $fName and returns it. Similar to t3lib_div::getUrl()
| string | Absolute filepath to record |
| t3lib_tsparser_ext::flattenSetup | ( | $ | setupArray, | |
| $ | prefix, | |||
| $ | resourceFlag | |||
| ) | [inherited] |
This flattens a hierarchical setuparray to $this->flatSetup The original function fetched the resource-file if any ('file.'). This functions doesn't.
| [type] | $setupArray: ... | |
| [type] | $prefix: ... | |
| [type] | $resourceFlag: ... |
Erneute Implementation von t3lib_TStemplate.
| t3lib_TStemplate::generateConfig | ( | ) | [inherited] |
Generates the configuration array by replacing constants and parsing the whole thing. Depends on $this->config and $this->constants to be set prior to this! (done by processTemplate/runThroughTemplates)
| t3lib_tsparser_ext::generateConfig_constants | ( | ) | [inherited] |
Parses the constants in $this->const with respect to the constant-editor in this module. In particular comments in the code are registered and the edit_divider is taken into account.
| t3lib_TStemplate::getCurrentPageData | ( | ) | [inherited] |
Fetches the "currentPageData" array from cache
NOTE about currentPageData: It holds information about the TypoScript conditions along with the list of template uid's which is used on the page. In the getFromCache function in TSFE, currentPageData is used to evaluate if there is a template and if the matching conditions are alright. Unfortunately this does not take into account if the templates in the rowSum of currentPageData has changed composition, eg. due to hidden fields or start/end time. So if a template is hidden or times out, it'll not be discovered unless the page is regenerated - at least the this->start function must be called, because this will make a new portion of data in currentPageData string.
| t3lib_TStemplate::getFileName | ( | $ | fileFromSetup | ) | [inherited] |
Returns the reference to a 'resource' in TypoScript. This could be from the filesystem if '/' is found in the value $fileFromSetup, else from the resource-list
| string | TypoScript "resource" data type value. |
| t3lib_TStemplate::getFromMPmap | ( | $ | pageId = 0 |
) | [inherited] |
Initializes the automatically created MPmap coming from the "config.MP_mapRootPoints" setting Can be called many times with overhead only the first time since then the map is generated and cached in memory.
| integer | Page id to return MPvar value for. |
| t3lib_TStemplate::getRootlineLevel | ( | $ | list | ) | [inherited] |
Returns the level of the given page in the rootline - Multiple pages can be given by separating the UIDs by comma.
| string | A list of UIDs for which the rootline-level should get returned |
| t3lib_TStemplate::includeStaticTypoScriptSources | ( | $ | idList, | |
| $ | templateID, | |||
| $ | pid, | |||
| $ | row | |||
| ) | [inherited] |
Includes static template records (from static_template table) and static template files (from extensions) for the input template record row.
| string | A list of already processed template ids including the current; The list is on the form "[prefix]_[uid]" where [prefix] is "sys" for "sys_template" records, "static" for "static_template" records and "ext_" for static include files (from extensions). The list is used to check that the recursive inclusion of templates does not go into circles: Simply it is used to NOT include a template record/file which has already BEEN included somewhere in the recursion. | |
| string | The id of the current template. Same syntax as $idList ids, eg. "sys_123" | |
| array | The PID of the input template record | |
| array | A full TypoScript template record |
| t3lib_TStemplate::init | ( | ) | [inherited] |
Initialize MUST be called directly after creating a new template-object
| t3lib_TStemplate::initMPmap_create | ( | $ | id, | |
| $ | MP_array = array(), |
|||
| $ | level = 0 | |||
| ) | [inherited] |
Creating MPmap for a certain ID root point.
| integer | Root id from which to start map creation. | |
| array | MP_array passed from root page. | |
| integer | Recursion brake. Incremented for each recursive call. 20 is the limit. |
| t3lib_tsparser_ext::lineNumberToScript | ( | $ | lnArr | ) | [inherited] |
[Describe function...]
| [type] | $lnArr: ... |
| t3lib_TStemplate::linkData | ( | $ | page, | |
| $ | oTarget, | |||
| $ | no_cache, | |||
| $ | script, | |||
| $ | overrideArray = '', |
|||
| $ | addParams = '', |
|||
| $ | typeOverride = '' | |||
| ) | [inherited] |
The mother of all functions creating links/URLs etc in a TypoScript environment. See the references below. Basically this function takes care of issues such as type,id,alias and Mount Points, simulate static documents, M5/B6 encoded parameters etc. It is important to pass all links created through this function since this is the guarantee that globally configured settings for link creating are observed and that your applications will conform to the various/many configuration options in TypoScript Templates regarding this.
| array | The page record of the page to which we are creating a link. Needed due to fields like uid, alias, target, no_cache, title and sectionIndex_uid. | |
| string | Default target string to use IF not $page['target'] is set. | |
| boolean | If set, then the "&no_cache=1" parameter is included in the URL. | |
| string | Alternative script name if you don't want to use $GLOBALS['TSFE']->config['mainScript'] (normally set to "index.php") | |
| array | Array with overriding values for the $page array. | |
| string | Additional URL parameters to set in the URL. Syntax is "&foo=bar&foo2=bar2" etc. Also used internally to add parameters if needed. | |
| string | If you set this value to something else than a blank string, then the typeNumber used in the link will be forced to this value. Normally the typeNum is based on the target set OR on $GLOBALS['TSFE']->config['config']['forceTypeValue'] if found. |
| t3lib_tsparser_ext::makeHtmlspecialchars | ( | $ | theValue | ) | [inherited] |
[Describe function...]
| [type] | $theValue: ... |
Erneute Implementation in ext_TSparser.
| t3lib_TStemplate::matching | ( | $ | cc | ) | [inherited] |
Fetches data about which TypoScript-matches there are at this page. Then it performs a matchingtest.
| array | An array with three keys, "all", "rowSum" and "rootLine" - all coming from the "currentPageData" array |
| t3lib_TStemplate::mergeConstantsFromPageTSconfig | ( | $ | constArray | ) | [inherited] |
Loads Page TSconfig until the outermost template record and parses the configuration - if TSFE.constants object path is found it is merged with the default data in here!
| array | Constants array, default input. |
| t3lib_TStemplate::prependStaticExtra | ( | $ | subrow | ) | [inherited] |
Appends (not prepends) additional TypoScript code to static template records/files as set in TYPO3_CONF_VARS For records the "uid" value is the integer of the "static_template" record For files the "uid" value is the extension key but with any underscores removed. Possibly with a path if its a static file selected in the template record
| array | Static template record/file |
| t3lib_TStemplate::printTitle | ( | $ | title, | |
| $ | no_title = 0, |
|||
| $ | titleFirst = 0 | |||
| ) | [inherited] |
Compiles the content for the page <title> tag.
| string | The input title string, typically the "title" field of a page's record. | |
| boolean | If set, then only the site title is outputted (from $this->setup['sitetitle']) | |
| boolean | If set, then "sitetitle" and $title is swapped |
| t3lib_TStemplate::procesIncludes | ( | ) | [inherited] |
Searching TypoScript code text (for constants, config (Setup) and editorcfg) for include instructions and does the inclusion if needed. Modifies
| t3lib_TStemplate::processTemplate | ( | $ | row, | |
| $ | idList, | |||
| $ | pid, | |||
| $ | templateID = '', |
|||
| $ | templateParent = '' | |||
| ) | [inherited] |
Checks if the template ($row) has some included templates and after including them it fills the arrays with the setup Builds up $this->rowSum
| array | A full TypoScript template record (sys_template/static_template/forged "dummy" record made from static template file) | |
| string | A list of already processed template ids including the current; The list is on the form "[prefix]_[uid]" where [prefix] is "sys" for "sys_template" records, "static" for "static_template" records and "ext_" for static include files (from extensions). The list is used to check that the recursive inclusion of templates does not go into circles: Simply it is used to NOT include a template record/file which has already BEEN included somewhere in the recursion. | |
| array | The PID of the input template record | |
| string | The id of the current template. Same syntax as $idList ids, eg. "sys_123" | |
| string | Parent template id (during recursive call); Same syntax as $idList ids, eg. "sys_123" |
| t3lib_tsparser_ext::readDirectory | ( | $ | path, | |
| $ | type = 'file' | |||
| ) | [inherited] |
[Describe function...]
| [type] | $path: ... | |
| [type] | $type: ... |
| t3lib_TStemplate::removeQueryString | ( | $ | url | ) | [inherited] |
Removes the "?" of input string IF the "?" is the last character.
| string | Input string |
| t3lib_TStemplate::runThroughTemplates | ( | $ | theRootLine, | |
| $ | start_template_uid = 0 | |||
| ) | [inherited] |
Traverses the rootLine from the root and out. For each page it checks if there is a template record. If there is a template record, $this->processTemplate() is called. Resets and affects internal variables like $this->constants, $this->config, $this->editorcfg and $this->rowSum Also creates $this->rootLine which is a root line stopping at the root template (contrary to $GLOBALS['TSFE']->rootLine which goes all the way to the root of the tree
| array | The rootline of the current page (going ALL the way to tree root) | |
| integer | Set specific template record UID to select; this is only for debugging/development/analysis use in backend modules like "Web > Template". For parsing TypoScript templates in the frontend it should be 0 (zero) |
| t3lib_TStemplate::sortedKeyList | ( | $ | setupArr, | |
| $ | acceptOnlyProperties = FALSE | |||
| ) | [inherited] |
Takes a TypoScript array as input and returns an array which contains all integer properties found which had a value (not only properties). The output array will be sorted numerically. Call it like t3lib_TStemplate::sortedKeyList()
| array | TypoScript array with numerical array in | |
| boolean | If set, then a value is not required - the properties alone will be enough. |
| t3lib_TStemplate::splitConfArray | ( | $ | conf, | |
| $ | splitCount | |||
| ) | [inherited] |
Implementation of the "optionSplit" feature in TypoScript (used eg. for MENU objects) What it does is to split the incoming TypoScript array so that the values are exploded by certain strings ("||" and "|*|") and each part distributed into individual TypoScript arrays with a similar structure, but individualized values. The concept is known as "optionSplit" and is rather advanced to handle but quite powerful, in particular for creating menus in TYPO3.
| array | A TypoScript array | |
| integer | The number of items for which to generated individual TypoScript arrays |
| t3lib_TStemplate::start | ( | $ | theRootLine | ) | [inherited] |
This is all about fetching the right TypoScript template structure. If it's not cached then it must be generated and cached! The method traverses the rootline structure from out to in, fetches the hierarchy of template records and based on this either finds the cached TypoScript template structure or parses the template and caches it for next time. Sets $this->setup to the parsed TypoScript template array
| array | The rootline of the current page (going ALL the way to tree root) |
| t3lib_tsparser_ext::substituteCMarkers | ( | $ | all | ) | [inherited] |
[Describe function...]
| [type] | $all: ... |
| t3lib_tsparser_ext::substituteConstants | ( | $ | all | ) | [inherited] |
[Describe function...]
| [type] | $all: ... |
Erneute Implementation von t3lib_TStemplate.
| t3lib_tsparser_ext::substituteConstantsCallBack | ( | $ | matches | ) | [inherited] |
Call back method for preg_replace_callback in substituteConstants
| array | Regular expression matches |
Erneute Implementation von t3lib_TStemplate.
| t3lib_tsparser_ext::upload_copy_file | ( | $ | typeDat, | |
| &$ | tplRow, | |||
| $ | theRealFileName, | |||
| $ | tmp_name | |||
| ) | [inherited] |
[Describe function...]
| [type] | $typeDat: ... | |
| [type] | $tplRow: ... | |
| [type] | $theRealFileName: ... | |
| [type] | $tmp_name: ... |
| t3lib_TStemplate::versionOL | ( | &$ | row | ) | [inherited] |
Creating versioning overlay of a sys_template record. This will use either frontend or backend overlay functionality depending on environment.
| array | Row to overlay. |
| t3lib_TStemplate::wrap | ( | $ | content, | |
| $ | wrap | |||
| ) | [inherited] |
Ordinary "wrapping" function. Used in the tslib_menu class and extension classes instead of the similar function in tslib_cObj
| string | The content to wrap | |
| string | The wrap value, eg. "<b> | </b>" |
t3lib_TStemplate::$const [inherited] |
Array (
'_clear' => '<img src="clear.gif" width="1" height="1" alt="" />',
'_blackBorderWrap' => '<table border="0" bgcolor="black" cellspacing="0" cellpadding="1"><tr><td> | </td></tr></table>',
'_tableWrap' => '<table border="0" cellspacing="0" cellpadding="0"> | </table>',
'_tableWrap_DEBUG' => '<table border="1" cellspacing="0" cellpadding="0"> | </table>',
'_stdFrameParams' => 'frameborder="no" marginheight="0" marginwidth="0" noresize="noresize"',
'_stdFramesetParams' => 'border="0" framespacing="0" frameborder="no"'
)
t3lib_TStemplate::$flatSetup [inherited] |
Array (
)
t3lib_TStemplate::$setup [inherited] |
Array(
'styles.' => Array (
'insertContent' => 'CONTENT',
'insertContent.' => Array (
'table' => 'tt_content',
'select.' => Array (
'orderBy' => 'sorting',
'where' => 'colPos=0',
'languageField' => 'sys_language_uid'
)
)
),
'config.' => Array (
'extTarget' => '_top',
'stat' => 1,
'stat_typeNumList' => '0,1',
'uniqueLinkVars' => 1
)
)
t3lib_tsparser_ext::$subCategories [inherited] |
array(
'enable' => Array('Enable features', 'a'),
'dims' => Array('Dimensions, widths, heights, pixels', 'b'),
'file' => Array('Files', 'c'),
'typo' => Array('Typography', 'd'),
'color' => Array('Colors', 'e'),
'links' => Array('Links and targets', 'f'),
'language' => Array('Language specific constants', 'g'),
'cheader' => Array('Content: \'Header\'', 'ma'),
'cheader_g' => Array('Content: \'Header\', Graphical', 'ma'),
'ctext' => Array('Content: \'Text\'', 'mb'),
'cimage' => Array('Content: \'Image\'', 'md'),
'cbullets' => Array('Content: \'Bullet list\'', 'me'),
'ctable' => Array('Content: \'Table\'', 'mf'),
'cuploads' => Array('Content: \'Filelinks\'', 'mg'),
'cmultimedia' => Array('Content: \'Multimedia\'', 'mh'),
'cmailform' => Array('Content: \'Form\'', 'mi'),
'csearch' => Array('Content: \'Search\'', 'mj'),
'clogin' => Array('Content: \'Login\'', 'mk'),
'csplash' => Array('Content: \'Textbox\'', 'ml'),
'cmenu' => Array('Content: \'Menu/Sitemap\'', 'mm'),
'cshortcut' => Array('Content: \'Insert records\'', 'mn'),
'clist' => Array('Content: \'List of records\'', 'mo'),
'cscript' => Array('Content: \'Script\'', 'mp'),
'chtml' => Array('Content: \'HTML\'', 'mq')
)
1.6.1