Bug #18334
closedclass tslib_pibase still uses PHP4 variable declaration
0%
Description
The class tslib_pibase still uses var declarations. This is PHP4, but not PHP5. This class is used by every TYPO3 extension as the base. So why do you demand PHP5 for TYPO3 4.2 and the extensions which use PHP5 do not look the same?
In the extension I want to use full PHP5:
public $prefixId = 'tx_ttproducts_pi1'; // Same as class name
public $scriptRelPath = 'pi1/class.tx_ttproducts_pi1.php'; // Path to this script relative to the extension dir.
public $extKey = TT_PRODUCTS_EXTkey; // The extension key.
Or maybe protected would do the job.
But this does not look fine compared to tslib_pibase:
var $scriptRelPath; // Path to the plugin class script relative to extension directory, eg. 'pi1/class.tx_newfaq_pi1.php'
var $extKey; // Extension key.
var $piVars = Array ( // This is the incoming array by name $this->prefixId merged between POST and
IMHO this basic class should like like PHP5 and not PHP4.
(issue imported from #M7707)
Updated by Dmitry Dulepov over 13 years ago
- Category deleted (
Communication) - Status changed from Needs Feedback to Closed
- Target version deleted (
0)
No feedback provided within 90 days. Closing the issue.