[TYPO3-dev] version number of extension
Franz Holzinger
franz at fholzinger.com
Fri Jul 7 08:08:01 CEST 2006
Hello,
I need a version number for the tt_products extension which can be asked
in the code.
class tx_ttproducts_pi1 extends ... (derives from tslib_pibase)
var $version = '020501'; // version number
This is needed to be stored together with the order data. Sometimes the
format of the order data might change. So the programs dealing with
order data can detect by the version number which format will be used here.
However it would be fine to find a common solution for all extensions.
Which versioning scheme would you prefer? Or should a function be
written to fetch the version number from ext_emconf.php as a number? A
number value will be needed for easier comparison.
Greets,
Franz
More information about the TYPO3-dev
mailing list