[TYPO3-core] RFC: #10812 helper function for handling with TYPOScript

Ingo Renner ingo at typo3.org
Fri Apr 3 20:45:27 CEST 2009


Sebastian Böttger wrote:

Hi Sebastian,

> t3lib_div::getTSValue('key1.key2.key3', $conf);
>
> returns:
>
> a) the value of the array pointed to by the given path which can either
> be an array or a string
> or b) false if the path doesn't exist
> or c) an empty string if the value is empty

great idea, some remarks though:

* I'd also not put it into t3lib_div, but probably in t3lib_tsparser
* call the thing getTsValue() - notice the small s

Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2



More information about the TYPO3-team-core mailing list