Actions
Feature #35822
closedImplement method to convert integer to version number
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-04-10
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
The class t3lib_utility_VersionNumber in file t3lib/utility/class.t3lib_utility_versionnumber.php
contains a method to convert version numbers to integer values (e.g. "4.12.3" to 4012003) but not the other way round.
I propose to implement an additional method to allow developers to convert integer values to version numbers, so the integer 4012003 would be converted to "4.12.3" as a string.
Please find my suggestion attached (updated file "class.t3lib_utility_versionnumber.php" and the patch).
Files
Actions