Fixing a few functions that broke during the refactoring
[isso.git] / Functions.php
index 55d369c7769e1e69835a716f626a3f462c7b2bc9..89d1c22e3a27be3d0e53fb817a99f77361354752 100644 (file)
@@ -160,7 +160,7 @@ class BSFunctions
        * @param        string  First CSS class name
        * @param        string  Second CSS class name
        */
-       public function SwapCssClasses($class1 = 'alt1', $class2 = 'alt2')
+       public static function swap_css_classes($class1 = 'alt1', $class2 = 'alt2')
        {
                static $count;
                
@@ -535,7 +535,7 @@ class BSFunctions
        */
        public static function scan_directory($path, $recurse = true, $ignoreDot = true)
        {
-               return self::_helpscan_directory($path, $recurse, $ignoreDot, '');
+               return self::_help_scan_directory($path, $recurse, $ignoreDot, '');
        }
        
        // ###################################################################
@@ -566,7 +566,7 @@ class BSFunctions
                        
                        if ($file->isDir() AND $recurse)
                        {
-                               $filelist = array_merge($filelist, self::_helpscan_directory($path . $name, $recurse, $ignoreDot, $pathAdd . BSFunctions::fetch_source_path(str_replace($path, '', $file->getPathname()))));
+                               $filelist = array_merge($filelist, self::_help_scan_directory($path . $name, $recurse, $ignoreDot, $pathAdd . BSFunctions::fetch_source_path(str_replace($path, '', $file->getPathname()))));
                                continue;
                        }