Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

class.t3lib_tsstyleconfig.php File Reference

Go to the source code of this file.

Namespaces

namespace  TYPO3

Classes

class  t3lib_tsStyleConfig

Functions

 ext_mergeIncomingWithExisting ($arr)
 [Describe function...]
 ext_getKeyImage ($key)
 ext_getTSCE_config_image ($imgConf)
 [Describe function...]
 ext_fNandV ($params)
 [Describe function...]
 ext_loadResources ($absPath)
 [Describe function...]
 ext_putValueInConf ($key, $var)
 [Describe function...]
 ext_removeValueInConf ($key)
 [Describe function...]


Function Documentation

ext_fNandV params  ) 
 

[Describe function...]

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

Definition at line 244 of file class.t3lib_tsstyleconfig.php.

00244                                  {
00245       $fN='data['.$params["name"].']';
00246       $fV=$params["value"]=isset($this->ext_realValues[$params["name"]]) ? $this->ext_realValues[$params["name"]] : $params["default_value"];
00247       if (ereg("^{[\$][a-zA-Z0-9\.]*}$",trim($fV),$reg)) {     // Values entered from the constantsedit cannot be constants!  230502; removed \{ and set {
00248          $fV="";
00249       }
00250       $fV=htmlspecialchars($fV);
00251 #debug(array($params,$fN,$fV,isset($this->ext_realValues[$params["name"]])));
00252       return array($fN,$fV,$params);
00253    }

ext_getKeyImage key  ) 
 

Definition at line 221 of file class.t3lib_tsstyleconfig.php.

00221                                     {
00222       return '<img'.t3lib_iconWorks::skinImg($this->ext_backPath,'gfx/rednumbers/'.$key.'.gif','').' hspace="2" align="top" alt="" />';
00223    }

ext_getTSCE_config_image imgConf  ) 
 

[Describe function...]

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

Definition at line 231 of file class.t3lib_tsstyleconfig.php.

00231                                                 {
00232       $iFile=$this->ext_localGfxPrefix.$imgConf;
00233       $tFile=$this->ext_localWebGfxPrefix.$imgConf;
00234       $imageInfo=@getImagesize($iFile);
00235       return '<img src="'.$tFile.'" '.$imageInfo[3].'>';
00236    }

ext_loadResources absPath  ) 
 

[Describe function...]

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

Definition at line 261 of file class.t3lib_tsstyleconfig.php.

00261                                           {
00262       $this->ext_readDirResources($GLOBALS["TYPO3_CONF_VARS"]["MODS"]["web_ts"]["onlineResourceDir"]);
00263       if (is_dir($absPath))   {
00264          $absPath = ereg_replace("\/$","",$absPath);
00265          $this->readDirectory($absPath);
00266       }
00267       $this->ext_resourceDims();
00268    }

ext_mergeIncomingWithExisting arr  ) 
 

[Describe function...]

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

Definition at line 213 of file class.t3lib_tsstyleconfig.php.

00213                                                 {
00214       $parseObj = t3lib_div::makeInstance("t3lib_TSparser");
00215       $parseObj->parse(implode(chr(10),$this->ext_incomingValues));
00216       $arr2 = $parseObj->setup;
00217       return t3lib_div::array_merge_recursive_overrule($arr,$arr2);
00218    }

ext_putValueInConf key,
var
 

[Describe function...]

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

Definition at line 277 of file class.t3lib_tsstyleconfig.php.

References $key.

00277                                              {
00278       $this->ext_incomingValues[$key]=$key."=".$var;
00279    }

ext_removeValueInConf key  ) 
 

[Describe function...]

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

Definition at line 287 of file class.t3lib_tsstyleconfig.php.

00287                                           {
00288       // Nothing...
00289    }


Generated on Sun Oct 3 01:06:10 2004 for TYPO3core 3.7.0 dev by  doxygen 1.3.8-20040913