summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 49dd54b)
raw | patch | inline | side by side (parent: 49dd54b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jan 2008 10:12:27 +0000 (10:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jan 2008 10:12:27 +0000 (10:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8558 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index b043a06f906da075bf43c94d6213ac6f9fd84f26..76702935f6a746d949935f836b7507fe56a742b6 100644 (file)
}
+/*! \brief Checks if a class is available.
+ * @param name String The class name.
+ * @return boolean True if class is available, else false.
+ */
+function class_available($name)
+{
+ global $class_mapping;
+ return(isset($class_mapping[$name]));
+}
+
+
/* Check if plugin is avaliable */
function plugin_available($plugin)
{