Author: Derick Rethans
Date: 2006-12-18 09:38:26 +0100 (Mon, 18 Dec 2006)
New Revision: 4362

Log:
- Added the static method ezcBaseFeatures::os() that returns a sanitized
  version of the current OS' name by marking the method as public.
#- Required in order to fix issue #9841.

Modified:
   trunk/Base/ChangeLog
   trunk/Base/src/features.php

Modified: trunk/Base/ChangeLog
===================================================================
--- trunk/Base/ChangeLog        2006-12-18 08:27:15 UTC (rev 4361)
+++ trunk/Base/ChangeLog        2006-12-18 08:38:26 UTC (rev 4362)
@@ -12,8 +12,10 @@
   easier.
 - Fixed issue #9819: Let all components deal the ezcBaseAutoloadException
   properly.
-- Added the static method ezcBase::findExecutableInPath() that searches the
+- Added the static method ezcBaseFeatures::findExecutableInPath() that 
searches the
   path for the given executable.
+- Added the static method ezcBaseFeatures::os() that returns a sanitized
+  version of the current OS' name.
 
 
 1.2beta2 - Monday 20 November 2006

Modified: trunk/Base/src/features.php
===================================================================
--- trunk/Base/src/features.php 2006-12-18 08:27:15 UTC (rev 4361)
+++ trunk/Base/src/features.php 2006-12-18 08:38:26 UTC (rev 4362)
@@ -217,11 +217,11 @@
     }
 
     /**
-     * Returns the operating system on which php is running.
+     * Returns the operating system on which PHP is running.
      *
      * @return string
      */
-    private static function os()
+    public static function os()
     {
         if ( is_null( self::$os ) )
         {

-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to