Changeset 287 for trunk/trax/vendor/trax
- Timestamp:
- 04/09/07 01:26:43 (5 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/trax.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/trax.php
r268 r287 34 34 */ 35 35 class Trax { 36 37 const 38 MAJOR = 0, 39 MINOR = 14, 40 TINY = 0; 36 41 37 42 public static … … 54 59 $current_controller_name = null, 55 60 $current_action_name = null, 56 $current_controller_object = null; 61 $current_controller_object = null, 62 $version = null; 57 63 58 64 function initialize() { 65 66 self::$version = self::version(); 59 67 60 68 if(substr(PHP_OS, 0, 3) == 'WIN') { … … 126 134 } 127 135 } 136 137 function version() { 138 return implode('.', array(self::MAJOR, self::MINOR, self::TINY)); 139 } 128 140 } 129 141
