From bd748e379eafc083aa2d264d5b302df7aa652539 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 12 Nov 2007 13:07:57 +0000 Subject: [PATCH] Updated to include interfaces, too. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7771 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/autoload-data.inc | 4 ++-- ...istEntryFilter.inc => interface_objectListEntryFilter.inc} | 0 update-gosa | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) rename include/{class_objectListEntryFilter.inc => interface_objectListEntryFilter.inc} (100%) diff --git a/include/autoload-data.inc b/include/autoload-data.inc index b08c3f543..4281c8e33 100644 --- a/include/autoload-data.inc +++ b/include/autoload-data.inc @@ -4,13 +4,13 @@ $class_mapping= array( "ConfigManagerException" => "include/class_ConfigManager.inc", "ConfigManager" => "include/class_ConfigManager.inc", "AutoloadException" => "include/autoload.inc", + "ObjectListEntryFilter" => "include/interface_objectListEntryFilter.inc", "ObjectListException" => "include/class_ObjectList.inc", "ObjectList" => "include/class_ObjectList.inc", - "ObjectListEntryFilter" => "include/class_objectListEntryFilter.inc", "ObjectListEntryFilter_uppercase" => "include/class_objectListEntryFilter_uppercase.inc", "ObjectListFilterIterator" => "include/class_ObjectListFilterIterator.inc", "ObjectListViewportException" => "include/class_ObjectListViewport.inc", "ObjectListViewport" => "include/class_ObjectListViewport.inc", "ObjectListIterator" => "include/class_ObjectListIterator.inc", ); -?> +?> \ No newline at end of file diff --git a/include/class_objectListEntryFilter.inc b/include/interface_objectListEntryFilter.inc similarity index 100% rename from include/class_objectListEntryFilter.inc rename to include/interface_objectListEntryFilter.inc diff --git a/update-gosa b/update-gosa index fe2816e44..5d631efb7 100755 --- a/update-gosa +++ b/update-gosa @@ -45,6 +45,10 @@ function get_classes($folder= ".") $class= preg_replace('/^\s*class\s*(\w+).*$/', '\1', $line); $result[$class]= preg_replace("%$base_dir/%", "", "$currdir/$folder/$file"); } + if (preg_match('/^\s*interface\s*\w.*$/', $line)){ + $class= preg_replace('/^\s*interface\s*(\w+).*$/', '\1', $line); + $result[$class]= preg_replace("%$base_dir/%", "", "$currdir/$folder/$file"); + } } } -- 2.30.2