Bug #19759

Move t3lib_tceforms_fe into its own file

Added by Jeff Segars about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-01-02
Due date:
% Done:

0%

TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently, t3lib_tceforms_fe is located within the main t3lib_tceforms file which violates the CGL requirement of one class in each file.

While moving it to its own file, small CGL cleanups have also been made.

(issue imported from #M10046)

0010046.diff View (25.2 KB) Administrator Admin, 2009-01-02 20:32

0010046_CGL.diff View (4.02 KB) Administrator Admin, 2009-01-02 20:41

0010046v2.diff View (31.7 KB) Administrator Admin, 2009-01-12 22:36

0010046v3.diff View (11.2 KB) Administrator Admin, 2009-01-13 22:22

History

#1 Updated by Dmitry Dulepov about 11 years ago

Compatibility is broken :( If someone uses this class, it will be expected in the old file. To preserve compatibility the old file should include the new file with appropriate comment.

#2 Updated by Jeff Segars about 11 years ago

t3lib_div::makeInstance() should take care of the loading if people actually create the object correctly but I guess it won't cover every case.

Attaching a new patch that does the include.

#3 Updated by Jeff Segars about 11 years ago

Committed v3 patch to trunk in r4709.

Also available in: Atom PDF