Documentation TYPO3 par Ameos |
Definition at line 105 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::flattenSetup | ( | $ | setupArray, | |
$ | prefix, | |||
$ | resourceFlag | |||
) |
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: ... |
Reimplemented from t3lib_TStemplate.
Definition at line 194 of file class.t3lib_tsparser_ext.php.
References t3lib_TStemplate::getFileName().
Referenced by t3lib_tsStyleConfig::ext_setValueArray(), and generateConfig_constants().
t3lib_tsparser_ext::substituteConstants | ( | $ | all | ) |
[Describe function...]
[type] | $all: ... |
Reimplemented from t3lib_TStemplate.
Definition at line 221 of file class.t3lib_tsparser_ext.php.
References substituteConstantsCallBack().
t3lib_tsparser_ext::substituteConstantsCallBack | ( | $ | matches | ) |
Call back method for preg_replace_callback in substituteConstants
array | Regular expression matches |
Reimplemented from t3lib_TStemplate.
Definition at line 234 of file class.t3lib_tsparser_ext.php.
Referenced by substituteConstants().
t3lib_tsparser_ext::substituteCMarkers | ( | $ | all | ) |
[Describe function...]
[type] | $all: ... |
Definition at line 264 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::generateConfig_constants | ( | ) |
[Describe function...]
Definition at line 286 of file class.t3lib_tsparser_ext.php.
References t3lib_TStemplate::$constants, ext_compareFlatSetups(), flattenSetup(), t3lib_div::makeInstance(), and t3lib_TStemplate::mergeConstantsFromPageTSconfig().
Referenced by t3lib_tsStyleConfig::ext_initTSstyleConfig().
t3lib_tsparser_ext::ext_getSetup | ( | $ | theSetup, | |
$ | theKey | |||
) |
[Describe function...]
[type] | $theSetup: ... | |
[type] | $theKey: ... |
Definition at line 335 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_getObjTree | ( | $ | arr, | |
$ | depth_in, | |||
$ | depthData, | |||
$ | parentType = '' , |
|||
$ | parentValue = '' , |
|||
$ | alphaSort = '0' | |||
) |
[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 |
Definition at line 367 of file class.t3lib_tsparser_ext.php.
References ext_fixed_lgd(), t3lib_div::inList(), and t3lib_div::testInt().
t3lib_tsparser_ext::lineNumberToScript | ( | $ | lnArr | ) |
[Describe function...]
[type] | $lnArr: ... |
Definition at line 467 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::makeHtmlspecialchars | ( | $ | theValue | ) |
[Describe function...]
[type] | $theValue: ... |
Reimplemented in ext_TSparser.
Definition at line 498 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_getSearchKeys | ( | $ | arr, | |
$ | depth_in, | |||
$ | searchString, | |||
$ | keyArray | |||
) |
[Describe function...]
[type] | $arr: ... | |
[type] | $depth_in: ... | |
[type] | $searchString: ... | |
[type] | $keyArray: ... |
Definition at line 511 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_getRootlineNumber | ( | $ | pid | ) |
[Describe function...]
[type] | $pid: ... |
Definition at line 567 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_getTemplateHierarchyArr | ( | $ | arr, | |
$ | depthData, | |||
$ | keyArray, | |||
$ | first = 0 | |||
) |
[Describe function...]
[type] | $arr: ... | |
[type] | $depthData: ... | |
[type] | $keyArray: ... | |
[type] | $first: ... |
Definition at line 585 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_process_hierarchyInfo | ( | $ | depthDataArr, | |
&$ | pointer | |||
) |
[Describe function...]
[type] | $depthDataArr: ... | |
[type] | $pointer: ... |
Definition at line 644 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...]
[type] | $config: ... | |
[type] | $lineNumbers: ... | |
[type] | $comments: ... | |
[type] | $crop: ... | |
[type] | $syntaxHL: ... | |
[type] | $syntaxHLBlockmode: ... |
Definition at line 675 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
[type] | $string: ... | |
[type] | $chars: ... |
Definition at line 702 of file class.t3lib_tsparser_ext.php.
Referenced by ext_getObjTree().
t3lib_tsparser_ext::ext_lnBreakPointWrap | ( | $ | ln, | |
$ | str | |||
) |
[Describe function...]
[type] | $ln: ... | |
[type] | $str: ... |
Definition at line 718 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_formatTS | ( | $ | input, | |
$ | ln, | |||
$ | comments = 1 , |
|||
$ | crop = 0 | |||
) |
[Describe function...]
[type] | $input: ... | |
[type] | $ln: ... | |
[type] | $comments: ... | |
[type] | $crop: ... |
Definition at line 731 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_getFirstTemplate | ( | $ | id, | |
$ | template_uid = 0 | |||
) |
[Describe function...]
[type] | $id: ... | |
[type] | $template_uid: ... |
Definition at line 770 of file class.t3lib_tsparser_ext.php.
Referenced by ext_prevPageWithTemplate().
t3lib_tsparser_ext::ext_getAllTemplates | ( | $ | id | ) |
[Describe function...]
[type] | $id: ... |
Definition at line 790 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.
[type] | $default: ... |
Definition at line 811 of file class.t3lib_tsparser_ext.php.
Referenced by generateConfig_constants().
t3lib_tsparser_ext::ext_categorizeEditableConstants | ( | $ | editConstArray | ) |
[Describe function...]
[type] | $editConstArray: ... |
Definition at line 877 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_setValueArray().
t3lib_tsparser_ext::ext_getCategoryLabelArray | ( | ) |
[Describe function...]
Definition at line 900 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_getCategoriesForModMenu().
t3lib_tsparser_ext::ext_getTypeData | ( | $ | type | ) |
[Describe function...]
[type] | $type: ... |
Definition at line 917 of file class.t3lib_tsparser_ext.php.
Referenced by ext_procesInput().
t3lib_tsparser_ext::ext_getTSCE_config | ( | $ | category | ) |
[Describe function...]
[type] | $category: ... |
Definition at line 959 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_makeHelpInformationForCategory().
t3lib_tsparser_ext::ext_getKeyImage | ( | $ | key | ) |
[Describe function...]
[type] | $key: ... |
Reimplemented in t3lib_tsStyleConfig.
Definition at line 998 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_getTSCE_config_image | ( | $ | imgConf | ) |
[Describe function...]
[type] | $imgConf: ... |
Reimplemented in t3lib_tsStyleConfig.
Definition at line 1008 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_resourceDims | ( | ) |
[Describe function...]
Definition at line 1032 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_loadResources().
t3lib_tsparser_ext::ext_readDirResources | ( | $ | path | ) |
[Describe function...]
[type] | $path: ... |
Definition at line 1062 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_loadResources().
t3lib_tsparser_ext::readDirectory | ( | $ | path, | |
$ | type = "file" | |||
) |
[Describe function...]
[type] | $path: ... | |
[type] | $type: ... |
Definition at line 1077 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_loadResources().
t3lib_tsparser_ext::ext_fNandV | ( | $ | params | ) |
[Describe function...]
[type] | $params: ... |
Reimplemented in t3lib_tsStyleConfig.
Definition at line 1102 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_printFields | ( | $ | theConstants, | |
$ | category | |||
) |
[Describe function...]
[type] | $theConstants: ... | |
[type] | $category: ... |
Definition at line 1120 of file class.t3lib_tsparser_ext.php.
Referenced by t3lib_tsStyleConfig::ext_getForm().
t3lib_tsparser_ext::ext_regObjectPositions | ( | $ | constants | ) |
[type] | $constants: ... |
Definition at line 1377 of file class.t3lib_tsparser_ext.php.
References t3lib_TStemplate::$constants, and ext_regObjects().
t3lib_tsparser_ext::ext_regObjects | ( | $ | pre | ) |
[Describe function...]
[type] | $pre: ... |
Definition at line 1392 of file class.t3lib_tsparser_ext.php.
Referenced by ext_regObjectPositions().
t3lib_tsparser_ext::ext_putValueInConf | ( | $ | key, | |
$ | var | |||
) |
[Describe function...]
[type] | $key: ... | |
[type] | $var: ... |
Reimplemented in t3lib_tsStyleConfig.
Definition at line 1437 of file class.t3lib_tsparser_ext.php.
Referenced by ext_procesInput().
t3lib_tsparser_ext::ext_removeValueInConf | ( | $ | key | ) |
[Describe function...]
[type] | $key: ... |
Reimplemented in t3lib_tsStyleConfig.
Definition at line 1460 of file class.t3lib_tsparser_ext.php.
Referenced by ext_procesInput().
t3lib_tsparser_ext::ext_depthKeys | ( | $ | arr, | |
$ | settings | |||
) |
[Describe function...]
[type] | $arr: ... | |
[type] | $settings: ... |
Definition at line 1476 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::ext_procesInput | ( | $ | http_post_vars, | |
$ | http_post_files, | |||
$ | theConstants, | |||
$ | tplRow | |||
) |
[Describe function...]
[type] | $http_post_vars: ... | |
[type] | $http_post_files: ... | |
[type] | $theConstants: ... | |
[type] | $tplRow: ... |
Definition at line 1511 of file class.t3lib_tsparser_ext.php.
References ext_getTypeData(), ext_putValueInConf(), ext_removeValueInConf(), t3lib_div::inList(), t3lib_div::intInRange(), and upload_copy_file().
t3lib_tsparser_ext::upload_copy_file | ( | $ | typeDat, | |
&$ | tplRow, | |||
$ | theRealFileName, | |||
$ | tmp_name | |||
) |
[Describe function...]
[type] | $typeDat: ... | |
[type] | $tplRow: ... | |
[type] | $theRealFileName: ... | |
[type] | $tmp_name: ... |
Definition at line 1638 of file class.t3lib_tsparser_ext.php.
References ext_setStar(), t3lib_BEfunc::getRecordWSOL(), t3lib_div::inList(), t3lib_div::makeInstance(), t3lib_div::split_fileref(), t3lib_div::trimExplode(), t3lib_div::unlink_tempfile(), and t3lib_div::upload_to_tempfile().
Referenced by ext_procesInput().
t3lib_tsparser_ext::ext_prevPageWithTemplate | ( | $ | id, | |
$ | perms_clause | |||
) |
[Describe function...]
[type] | $id: ... | |
[type] | $perms_clause: ... |
Definition at line 1687 of file class.t3lib_tsparser_ext.php.
References t3lib_TStemplate::$rootLine, t3lib_BEfunc::BEgetRootLine(), and ext_getFirstTemplate().
t3lib_tsparser_ext::ext_setStar | ( | $ | val | ) |
[Describe function...]
[type] | $val: ... |
Definition at line 1703 of file class.t3lib_tsparser_ext.php.
Referenced by upload_copy_file().
t3lib_tsparser_ext::ext_detectAndFixExtensionPrefix | ( | $ | value | ) |
[Describe function...]
[type] | $value: ... |
Definition at line 1715 of file class.t3lib_tsparser_ext.php.
References t3lib_extMgm::siteRelPath().
t3lib_tsparser_ext::$categories |
Initial value:
array( "basic" => array(), // Constants of superior importance for the template-layout. This is dimensions, imagefiles and enabling of various features. The most basic constants, which you would almost always want to configure. "menu" => array(), // Menu setup. This includes fontfiles, sizes, background images. Depending on the menutype. "content" => array(), // All constants related to the display of pagecontent elements "page" => array(), // General configuration like metatags, link targets "advanced" => array(), // Advanced functions, which are used very seldomly. "all" => array() // All constants are put here also! )
Reimplemented in t3lib_tsStyleConfig.
Definition at line 111 of file class.t3lib_tsparser_ext.php.
t3lib_tsparser_ext::$subCategories |
Initial value:
array( // Standard categories: "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"), // subcategories based on the default content elements "cheader" => Array("Content: 'Header'", "ma"), "cheader_g" => Array("Content: 'Header', Graphical", "ma"), "ctext" => Array("Content: 'Text'", "mb"), // "ctextpic" => "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") )
Definition at line 119 of file class.t3lib_tsparser_ext.php.