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

Benjamin Mack benni at typo3.org
Sat Jun 27 17:13:04 CEST 2009


Hey Sebastian,

can you send an updated patch taking the comments into account?

All the best,
benni.

On 30.03.2009 20:17 Uhr, Sebastian Böttger wrote:
> 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