t3lib_tsparser_ext Class Reference

Inheritance diagram for t3lib_tsparser_ext:

Inheritance graph
[legend]
Collaboration diagram for t3lib_tsparser_ext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 flattenSetup ($setupArray, $prefix, $resourceFlag)
 substituteConstants ($all)
 substituteCMarkers ($all)
 generateConfig_constants ()
 ext_getSetup ($theSetup, $theKey)
 ext_getObjTree ($arr, $depth_in, $depthData, $parentType="", $parentValue="")
 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_getKeyImage ($key)
 ext_getTSCE_config_image ($imgConf)
 ext_resourceDims ()
 ext_readDirResources ($path)
 readDirectory ($path, $type="file")
 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)
 upload_copy_file ($typeDat, &$tplRow, $theRealFileName, $tmp_name)
 ext_prevPageWithTemplate ($id, $perms_clause)
 ext_setStar ($val)
 ext_detectAndFixExtensionPrefix ($value)
 flattenSetup ($setupArray, $prefix, $resourceFlag)
 substituteConstants ($all)
 substituteCMarkers ($all)
 generateConfig_constants ()
 ext_getSetup ($theSetup, $theKey)
 ext_getObjTree ($arr, $depth_in, $depthData, $parentType="", $parentValue="")
 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_getKeyImage ($key)
 ext_getTSCE_config_image ($imgConf)
 ext_resourceDims ()
 ext_readDirResources ($path)
 readDirectory ($path, $type="file")
 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)
 upload_copy_file ($typeDat, &$tplRow, $theRealFileName, $tmp_name)
 ext_prevPageWithTemplate ($id, $perms_clause)
 ext_setStar ($val)
 ext_detectAndFixExtensionPrefix ($value)

Public Attributes

 $edit_divider = "###MOD_TS:EDITABLE_CONSTANTS###"
 $HTMLcolorList = "aqua,black,blue,fuchsia,gray,green,lime,maroon,navy,olive,purple,red,silver,teal,yellow,white"
 $categories
 $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 = ""
 $ext_dontCheckIssetValues = 0
 $ext_noCEUploadAndCopying = 0
 $ext_printAll = 0
 $ext_CEformName = "forms[0]"
 $ext_defaultOnlineResourceFlag = 0
 $doNotSortCategoriesBeforeMakingForm = FALSE
 $templateTitles = array()

Detailed Description

Definition at line 104 of file class.t3lib_tsparser_ext.php.


Member Function Documentation

t3lib_tsparser_ext::ext_categorizeEditableConstants editConstArray  ) 
 

[Describe function...]

Parameters:
[type] $editConstArray: ...
Returns:
[type] ...

Definition at line 838 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_categorizeEditableConstants editConstArray  ) 
 

[Describe function...]

Parameters:
[type] $editConstArray: ...
Returns:
[type] ...

Definition at line 838 of file class.t3lib_tsparser_ext.php.

Referenced by t3lib_tsStyleConfig::ext_setValueArray().

t3lib_tsparser_ext::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.

Parameters:
[type] $default: ...
Returns:
[type] ...

Definition at line 772 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::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.

Parameters:
[type] $default: ...
Returns:
[type] ...

Definition at line 772 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_depthKeys arr,
settings
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $settings: ...
Returns:
[type] ...

Definition at line 1436 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_depthKeys arr,
settings
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $settings: ...
Returns:
[type] ...

Definition at line 1436 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_detectAndFixExtensionPrefix value  ) 
 

[Describe function...]

Parameters:
[type] $value: ...
Returns:
[type] ...

Definition at line 1672 of file class.t3lib_tsparser_ext.php.

References $parts, $value, and t3lib_extMgm::siteRelPath().

t3lib_tsparser_ext::ext_detectAndFixExtensionPrefix value  ) 
 

[Describe function...]

Parameters:
[type] $value: ...
Returns:
[type] ...

Definition at line 1672 of file class.t3lib_tsparser_ext.php.

References $parts, $value, and t3lib_extMgm::siteRelPath().

t3lib_tsparser_ext::ext_fixed_lgd string,
chars
 

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

Parameters:
[type] $string: ...
[type] $chars: ...
Returns:
[type] ...

Definition at line 665 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_fixed_lgd string,
chars
 

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

Parameters:
[type] $string: ...
[type] $chars: ...
Returns:
[type] ...

Definition at line 665 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_fNandV params  ) 
 

[Describe function...]

Parameters:
[type] $params: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 1062 of file class.t3lib_tsparser_ext.php.

References a.

t3lib_tsparser_ext::ext_fNandV params  ) 
 

[Describe function...]

Parameters:
[type] $params: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 1062 of file class.t3lib_tsparser_ext.php.

References a.

t3lib_tsparser_ext::ext_formatTS input,
ln,
comments = 1,
crop = 0
 

[Describe function...]

Parameters:
[type] $input: ...
[type] $ln: ...
[type] $comments: ...
[type] $crop: ...
Returns:
[type] ...

Definition at line 694 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_formatTS input,
ln,
comments = 1,
crop = 0
 

[Describe function...]

Parameters:
[type] $input: ...
[type] $ln: ...
[type] $comments: ...
[type] $crop: ...
Returns:
[type] ...

Definition at line 694 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getAllTemplates id  ) 
 

[Describe function...]

Parameters:
[type] $id: ...
Returns:
[type] ...

Definition at line 752 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getAllTemplates id  ) 
 

[Describe function...]

Parameters:
[type] $id: ...
Returns:
[type] ...

Definition at line 752 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getCategoryLabelArray  ) 
 

[Describe function...]

Returns:
[type] ...

Definition at line 861 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getCategoryLabelArray  ) 
 

[Describe function...]

Returns:
[type] ...

Definition at line 861 of file class.t3lib_tsparser_ext.php.

Referenced by t3lib_tsStyleConfig::ext_getCategoriesForModMenu().

t3lib_tsparser_ext::ext_getFirstTemplate id,
template_uid = 0
 

[Describe function...]

Parameters:
[type] $id: ...
[type] $template_uid: ...
Returns:
[type] ...

Definition at line 733 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getFirstTemplate id,
template_uid = 0
 

[Describe function...]

Parameters:
[type] $id: ...
[type] $template_uid: ...
Returns:
[type] ...

Definition at line 733 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getKeyImage key  ) 
 

[Describe function...]

Parameters:
[type] $key: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 958 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getKeyImage key  ) 
 

[Describe function...]

Parameters:
[type] $key: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 958 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getObjTree arr,
depth_in,
depthData,
parentType = "",
parentValue = ""
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $depth_in: ...
[type] $depthData: ...
[type] $parentType: ...
[type] $parentValue: ...
Returns:
[type] ...

Definition at line 351 of file class.t3lib_tsparser_ext.php.

References $goto, $key, a, color, height, img, index, t3lib_div::inList(), and t3lib_div::testInt().

t3lib_tsparser_ext::ext_getObjTree arr,
depth_in,
depthData,
parentType = "",
parentValue = ""
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $depth_in: ...
[type] $depthData: ...
[type] $parentType: ...
[type] $parentValue: ...
Returns:
[type] ...

Definition at line 351 of file class.t3lib_tsparser_ext.php.

References $goto, $key, a, color, height, img, index, t3lib_div::inList(), and t3lib_div::testInt().

t3lib_tsparser_ext::ext_getRootlineNumber pid  ) 
 

[Describe function...]

Parameters:
[type] $pid: ...
Returns:
[type] ...

Definition at line 530 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getRootlineNumber pid  ) 
 

[Describe function...]

Parameters:
[type] $pid: ...
Returns:
[type] ...

Definition at line 530 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getSearchKeys arr,
depth_in,
searchString,
keyArray
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $depth_in: ...
[type] $searchString: ...
[type] $keyArray: ...
Returns:
[type] ...

Definition at line 490 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getSearchKeys arr,
depth_in,
searchString,
keyArray
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $depth_in: ...
[type] $searchString: ...
[type] $keyArray: ...
Returns:
[type] ...

Definition at line 490 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getSetup theSetup,
theKey
 

[Describe function...]

Parameters:
[type] $theSetup: ...
[type] $theKey: ...
Returns:
[type] ...

Definition at line 320 of file class.t3lib_tsparser_ext.php.

References $parts.

t3lib_tsparser_ext::ext_getSetup theSetup,
theKey
 

[Describe function...]

Parameters:
[type] $theSetup: ...
[type] $theKey: ...
Returns:
[type] ...

Definition at line 320 of file class.t3lib_tsparser_ext.php.

References $parts.

t3lib_tsparser_ext::ext_getTemplateHierarchyArr arr,
depthData,
keyArray,
first = 0
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $depthData: ...
[type] $keyArray: ...
[type] $first: ...
Returns:
[type] ...

Definition at line 548 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getTemplateHierarchyArr arr,
depthData,
keyArray,
first = 0
 

[Describe function...]

Parameters:
[type] $arr: ...
[type] $depthData: ...
[type] $keyArray: ...
[type] $first: ...
Returns:
[type] ...

Definition at line 548 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getTSCE_config category  ) 
 

[Describe function...]

Parameters:
[type] $category: ...
Returns:
[type] ...

Definition at line 919 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getTSCE_config category  ) 
 

[Describe function...]

Parameters:
[type] $category: ...
Returns:
[type] ...

Definition at line 919 of file class.t3lib_tsparser_ext.php.

Referenced by t3lib_tsStyleConfig::ext_makeHelpInformationForCategory().

t3lib_tsparser_ext::ext_getTSCE_config_image imgConf  ) 
 

[Describe function...]

Parameters:
[type] $imgConf: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 968 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getTSCE_config_image imgConf  ) 
 

[Describe function...]

Parameters:
[type] $imgConf: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 968 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getTypeData type  ) 
 

[Describe function...]

Parameters:
[type] $type: ...
Returns:
[type] ...

Definition at line 878 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_getTypeData type  ) 
 

[Describe function...]

Parameters:
[type] $type: ...
Returns:
[type] ...

Definition at line 878 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_lnBreakPointWrap ln,
str
 

[Describe function...]

Parameters:
[type] $ln: ...
[type] $str: ...
Returns:
[type] ...

Definition at line 681 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_lnBreakPointWrap ln,
str
 

[Describe function...]

Parameters:
[type] $ln: ...
[type] $str: ...
Returns:
[type] ...

Definition at line 681 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_outputTS config,
lineNumbers = 0,
comments = 0,
crop = 0,
syntaxHL = 0,
syntaxHLBlockmode = 0
 

[Describe function...]

Parameters:
[type] $config: ...
[type] $lineNumbers: ...
[type] $comments: ...
[type] $crop: ...
[type] $syntaxHL: ...
[type] $syntaxHLBlockmode: ...
Returns:
[type] ...

Definition at line 638 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_outputTS config,
lineNumbers = 0,
comments = 0,
crop = 0,
syntaxHL = 0,
syntaxHLBlockmode = 0
 

[Describe function...]

Parameters:
[type] $config: ...
[type] $lineNumbers: ...
[type] $comments: ...
[type] $crop: ...
[type] $syntaxHL: ...
[type] $syntaxHLBlockmode: ...
Returns:
[type] ...

Definition at line 638 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_prevPageWithTemplate id,
perms_clause
 

[Describe function...]

Parameters:
[type] $id: ...
[type] $perms_clause: ...
Returns:
[type] ...

Definition at line 1644 of file class.t3lib_tsparser_ext.php.

References t3lib_BEfunc::BEgetRootLine().

t3lib_tsparser_ext::ext_prevPageWithTemplate id,
perms_clause
 

[Describe function...]

Parameters:
[type] $id: ...
[type] $perms_clause: ...
Returns:
[type] ...

Definition at line 1644 of file class.t3lib_tsparser_ext.php.

References t3lib_BEfunc::BEgetRootLine().

t3lib_tsparser_ext::ext_printFields theConstants,
category
 

[Describe function...]

Parameters:
[type] $theConstants: ...
[type] $category: ...
Returns:
[type] ...

Definition at line 1080 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_printFields theConstants,
category
 

[Describe function...]

Parameters:
[type] $theConstants: ...
[type] $category: ...
Returns:
[type] ...

Definition at line 1080 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_procesInput http_post_vars,
http_post_files,
theConstants,
tplRow
 

[Describe function...]

Parameters:
[type] $http_post_vars: ...
[type] $http_post_files: ...
[type] $theConstants: ...
[type] $tplRow: ...
Returns:
[type] ...

Definition at line 1471 of file class.t3lib_tsparser_ext.php.

References $col, $data, $key, $val, t3lib_div::inList(), and t3lib_div::intInRange().

t3lib_tsparser_ext::ext_procesInput http_post_vars,
http_post_files,
theConstants,
tplRow
 

[Describe function...]

Parameters:
[type] $http_post_vars: ...
[type] $http_post_files: ...
[type] $theConstants: ...
[type] $tplRow: ...
Returns:
[type] ...

Definition at line 1471 of file class.t3lib_tsparser_ext.php.

References $col, $data, $key, $val, t3lib_div::inList(), and t3lib_div::intInRange().

t3lib_tsparser_ext::ext_process_hierarchyInfo depthDataArr,
&$  pointer
 

[Describe function...]

Parameters:
[type] $depthDataArr: ...
[type] $pointer: ...
Returns:
[type] ...

Definition at line 607 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_process_hierarchyInfo depthDataArr,
&$  pointer
 

[Describe function...]

Parameters:
[type] $depthDataArr: ...
[type] $pointer: ...
Returns:
[type] ...

Definition at line 607 of file class.t3lib_tsparser_ext.php.

t3lib_tsparser_ext::ext_putValueInConf key,
var
 

[Describe function...]

Parameters:
[type] $key: ...
[type] $var: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig.

Definition at line 1397 of file class.t3lib_tsparser_ext.php.

References $key, and $parts.

t3lib_tsparser_ext::ext_putValueInConf key,
var
 

[Describe function...]

Parameters:
[type] $key: ...
[type] $var: ...
Returns:
[type] ...

Reimplemented in t3lib_tsStyleConfig, and t3lib_tsStyleConfig<