[ Index ]
 

Code source de Typo3 4.1.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/t3lib/ -> class.t3lib_tsparser_ext.php (sommaire)

TSParser extension class to t3lib_TStemplate $Id: class.t3lib_tsparser_ext.php 1900 2007-01-09 14:02:41Z ingmars $ Contains functions for the TS module in TYPO3 backend

Author: Kasper Skaarhoj <kasperYYYY@typo3.com>
Poids: 1732 lignes (58 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

t3lib_tsparser_ext:: (41 méthodes):
  flattenSetup()
  substituteConstants()
  substituteConstantsCallBack()
  substituteCMarkers()
  generateConfig_constants()
  ext_getSetup()
  ext_getObjTree()
  lineNumberToScript()
  makeHtmlspecialchars()
  ext_getSearchKeys()
  ext_getRootlineNumber()
  ext_getTemplateHierarchyArr()
  ext_process_hierarchyInfo()
  ext_outputTS()
  ext_fixed_lgd()
  ext_lnBreakPointWrap()
  ext_formatTS()
  ext_getFirstTemplate()
  ext_getAllTemplates()
  ext_compareFlatSetups()
  ext_categorizeEditableConstants()
  ext_getCategoryLabelArray()
  ext_getTypeData()
  ext_getTSCE_config()
  ext_getKeyImage()
  ext_getTSCE_config_image()
  ext_resourceDims()
  ext_readDirResources()
  readDirectory()
  ext_fNandV()
  ext_printFields()
  ext_regObjectPositions()
  ext_regObjects()
  ext_putValueInConf()
  ext_removeValueInConf()
  ext_depthKeys()
  ext_procesInput()
  upload_copy_file()
  ext_prevPageWithTemplate()
  ext_setStar()
  ext_detectAndFixExtensionPrefix()


Classe: t3lib_tsparser_ext  - X-Ref

TSParser extension class to t3lib_TStemplate

flattenSetup($setupArray, $prefix, $resourceFlag)   X-Ref
This flattens a hierarchical setuparray to $this->flatSetup
The original function fetched the resource-file if any ("file."). This functions doesn't.

param: [type]        $setupArray: ...
param: [type]        $prefix: ...
param: [type]        $resourceFlag: ...
return: [type]        ...

substituteConstants($all)   X-Ref
[Describe function...]

param: [type]        $all: ...
return: [type]        ...

substituteConstantsCallBack($matches)   X-Ref
Call back method for preg_replace_callback in substituteConstants

param: array        Regular expression matches
return: string        Replacement

substituteCMarkers($all)   X-Ref
[Describe function...]

param: [type]        $all: ...
return: [type]        ...

generateConfig_constants()   X-Ref
[Describe function...]

return: [type]        ...

ext_getSetup($theSetup,$theKey)   X-Ref
[Describe function...]

param: [type]        $theSetup: ...
param: [type]        $theKey: ...
return: [type]        ...

ext_getObjTree($arr, $depth_in, $depthData, $parentType='',$parentValue='', $alphaSort='0')   X-Ref
[Describe function...]

param: [type]        $arr: ...
param: [type]        $depth_in: ...
param: [type]        $depthData: ...
param: [type]        $parentType: ...
param: [type]        $parentValue: ...
param: boolean        $alphaSort sorts the array keys / tree by alphabet when set to 1
return: [type]        ...

lineNumberToScript($lnArr)   X-Ref
[Describe function...]

param: [type]        $lnArr: ...
return: [type]        ...

makeHtmlspecialchars($theValue)   X-Ref
[Describe function...]

param: [type]        $theValue: ...
return: [type]        ...

ext_getSearchKeys($arr, $depth_in, $searchString, $keyArray)   X-Ref
[Describe function...]

param: [type]        $arr: ...
param: [type]        $depth_in: ...
param: [type]        $searchString: ...
param: [type]        $keyArray: ...
return: [type]        ...

ext_getRootlineNumber($pid)   X-Ref
[Describe function...]

param: [type]        $pid: ...
return: [type]        ...

ext_getTemplateHierarchyArr($arr,$depthData, $keyArray,$first=0)   X-Ref
[Describe function...]

param: [type]        $arr: ...
param: [type]        $depthData: ...
param: [type]        $keyArray: ...
param: [type]        $first: ...
return: [type]        ...

ext_process_hierarchyInfo($depthDataArr,&$pointer)   X-Ref
[Describe function...]

param: [type]        $depthDataArr: ...
param: [type]        $pointer: ...
return: [type]        ...

ext_outputTS($config, $lineNumbers=0, $comments=0, $crop=0, $syntaxHL=0, $syntaxHLBlockmode=0)   X-Ref
[Describe function...]

param: [type]        $config: ...
param: [type]        $lineNumbers: ...
param: [type]        $comments: ...
param: [type]        $crop: ...
param: [type]        $syntaxHL: ...
param: [type]        $syntaxHLBlockmode: ...
return: [type]        ...

ext_fixed_lgd($string,$chars)   X-Ref
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

param: [type]        $string: ...
param: [type]        $chars: ...
return: [type]        ...

ext_lnBreakPointWrap($ln,$str)   X-Ref
[Describe function...]

param: [type]        $ln: ...
param: [type]        $str: ...
return: [type]        ...

ext_formatTS($input, $ln, $comments=1, $crop=0)   X-Ref
[Describe function...]

param: [type]        $input: ...
param: [type]        $ln: ...
param: [type]        $comments: ...
param: [type]        $crop: ...
return: [type]        ...

ext_getFirstTemplate($id,$template_uid=0)   X-Ref
[Describe function...]

param: [type]        $id: ...
param: [type]        $template_uid: ...
return: [type]        ...

ext_getAllTemplates($id)   X-Ref
[Describe function...]

param: [type]        $id: ...
return: [type]        ...

ext_compareFlatSetups($default)   X-Ref
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.

param: [type]        $default: ...
return: [type]        ...

ext_categorizeEditableConstants($editConstArray)   X-Ref
[Describe function...]

param: [type]        $editConstArray: ...
return: [type]        ...

ext_getCategoryLabelArray()   X-Ref
[Describe function...]

return: [type]        ...

ext_getTypeData($type)   X-Ref
[Describe function...]

param: [type]        $type: ...
return: [type]        ...

ext_getTSCE_config($category)   X-Ref
[Describe function...]

param: [type]        $category: ...
return: [type]        ...

ext_getKeyImage($key)   X-Ref
[Describe function...]

param: [type]        $key: ...
return: [type]        ...

ext_getTSCE_config_image($imgConf)   X-Ref
[Describe function...]

param: [type]        $imgConf: ...
return: [type]        ...

ext_resourceDims()   X-Ref
[Describe function...]

return: [type]        ...

ext_readDirResources($path)   X-Ref
[Describe function...]

param: [type]        $path: ...
return: [type]        ...

readDirectory($path,$type="file")   X-Ref
[Describe function...]

param: [type]        $path: ...
param: [type]        $type: ...
return: [type]        ...

ext_fNandV($params)   X-Ref
[Describe function...]

param: [type]        $params: ...
return: [type]        ...

ext_printFields($theConstants,$category)   X-Ref
[Describe function...]

param: [type]        $theConstants: ...
param: [type]        $category: ...
return: [type]        ...

ext_regObjectPositions($constants)   X-Ref

param: [type]        $constants: ...
return: [type]        ...

ext_regObjects($pre)   X-Ref
[Describe function...]

param: [type]        $pre: ...
return: [type]        ...

ext_putValueInConf($key, $var)   X-Ref
[Describe function...]

param: [type]        $key: ...
param: [type]        $var: ...
return: [type]        ...

ext_removeValueInConf($key)   X-Ref
[Describe function...]

param: [type]        $key: ...
return: [type]        ...

ext_depthKeys($arr,$settings)   X-Ref
[Describe function...]

param: [type]        $arr: ...
param: [type]        $settings: ...
return: [type]        ...

ext_procesInput($http_post_vars,$http_post_files,$theConstants,$tplRow)   X-Ref
[Describe function...]

param: [type]        $http_post_vars: ...
param: [type]        $http_post_files: ...
param: [type]        $theConstants: ...
param: [type]        $tplRow: ...
return: [type]        ...

upload_copy_file($typeDat,&$tplRow,$theRealFileName,$tmp_name)   X-Ref
[Describe function...]

param: [type]        $typeDat: ...
param: [type]        $tplRow: ...
param: [type]        $theRealFileName: ...
param: [type]        $tmp_name: ...
return: [type]        ...

ext_prevPageWithTemplate($id,$perms_clause)   X-Ref
[Describe function...]

param: [type]        $id: ...
param: [type]        $perms_clause: ...
return: [type]        ...

ext_setStar($val)   X-Ref
[Describe function...]

param: [type]        $val: ...
return: [type]        ...

ext_detectAndFixExtensionPrefix($value)   X-Ref
[Describe function...]

param: [type]        $value: ...
return: [type]        ...



Généré le : Sun Nov 25 17:13:16 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics