Added interface for breadcrumb provider
authorMarcel Werk <burntime@woltlab.com>
Thu, 13 Oct 2011 15:38:36 +0000 (17:38 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 13 Oct 2011 15:38:36 +0000 (17:38 +0200)
wcfsetup/install/files/lib/system/breadcrumb/IBreadcrumbProvider.class.php [new file with mode: 0644]

diff --git a/wcfsetup/install/files/lib/system/breadcrumb/IBreadcrumbProvider.class.php b/wcfsetup/install/files/lib/system/breadcrumb/IBreadcrumbProvider.class.php
new file mode 100644 (file)
index 0000000..7e46cc9
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+namespace wcf\system\breadcrumb;
+
+/**
+ * Interface for breadcrumb provider.
+ *
+ * @author     Marcel Werk
+ * @copyright  2001-2011 WoltLab GmbH
+ * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package    com.woltlab.wcf
+ * @subpackage system.breadcrumb
+ * @category   Community Framework
+ */
+interface IBreadcrumbProvider {
+       /**
+        * Returns a Breadcrumb object.
+        * 
+        * @return      wcf\system\breadcrumb\Breadcrumb
+        */
+       public function getBreadcrumb();
+}