[TASK] Remove Code Duplication in tslib_content_Media
authorSteffen Ritter <info@rs-websystems.de>
Sat, 31 Mar 2012 16:02:31 +0000 (18:02 +0200)
committerGeorg Ringer <mail@ringerge.org>
Wed, 11 Apr 2012 11:22:10 +0000 (13:22 +0200)
commitb2c1191c17c554ee32f54f27f85df87d26f0b441
tree92ee639a6b9ef545e54dbb4fe809a3892c621f68
parente8076834f4a8ed5fe63e16cf5275989a7ea60236
[TASK] Remove Code Duplication in tslib_content_Media

For every parameter the same code for overlaying Flexform value
over the value given in TypoScript is done.

Furthermore for every file the same url-processing is done.

Remove these code duplication by extracting these things to
external functions for a better readability and maintainability.

Change-Id: I2a614cc1d60f28c3ef4189e74fa3f4dea91fa85f
Resolves: #35440
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/10219
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Klee
Reviewed-by: Anja Leichsenring
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/tslib/content/class.tslib_content_media.php