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

Sebastian Böttger sebastian.boettger at gmail.com
Mon Mar 30 20:17:52 CEST 2009


Hi folks!

This is a SVN patch request.

Type: Feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=10812

Branches: 4.3

Reading values savely from your $conf array without "if 
array_key_exist"s when dealing with your TS setup.

This bug adds a simple function to t3lib_div and it would be great to 
see it in the next version.

Example:

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

GrTz
Sebastian


More information about the TYPO3-team-core mailing list