+++ /dev/null
-<?php
-namespace wcf\data;
-
-/**
- * This interface provides a method to access the link to a database object.
- *
- * @author Matthias Schmidt
- * @copyright 2001-2012 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage data
- * @category Community Framework
- */
-interface ILinkableDatabaseObject {
- /**
- * Returns the link to this database object.
- *
- * @return string
- */
- public function getLink();
-}
--- /dev/null
+<?php
+namespace wcf\data;
+
+/**
+ * Every linkable object has to implement this interface.
+ *
+ * @author Matthias Schmidt
+ * @copyright 2001-2013 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage data
+ * @category Community Framework
+ */
+interface ILinkableObject {
+ /**
+ * Returns the link to the object.
+ *
+ * @return string
+ */
+ public function getLink();
+}
+++ /dev/null
-<?php
-namespace wcf\data;
-
-/**
- * This interface provides a method to access the title of a database object.
- *
- * @author Matthias Schmidt
- * @copyright 2001-2012 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage data
- * @category Community Framework
- */
-interface ITitledDatabaseObject {
- /**
- * Returns the title of this database object.
- *
- * @return string
- */
- public function getTitle();
-}
--- /dev/null
+<?php
+namespace wcf\data;
+
+/**
+ * Every titled object has to implement this interface.
+ *
+ * @author Matthias Schmidt
+ * @copyright 2001-2013 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage data
+ * @category Community Framework
+ */
+interface ITitledObject {
+ /**
+ * Returns the title of the object.
+ *
+ * @return string
+ */
+ public function getTitle();
+}
* Represents a category.
*
* @author Matthias Schmidt
- * @copyright 2001-2012 WoltLab GmbH
+ * @copyright 2001-2013 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.category
}
/**
- * @see wcf\data\ITitledDatabaseObject::getTitle()
+ * @see wcf\data\ITitledObject::getTitle()
*/
public function getTitle() {
return WCF::getLanguage()->get($this->title);
<?php
namespace wcf\system\request;
-use wcf\data\ITitledDatabaseObject;
+use wcf\data\ITitledObject;
/**
* Default interface for route controllers.
*
* @author Alexander Ebert
- * @copyright 2001-2012 WoltLab GmbH
+ * @copyright 2001-2013 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.request
* @category Community Framework
*/
-interface IRouteController extends ITitledDatabaseObject {
+interface IRouteController extends ITitledObject {
/**
* Returns the id of the object.
*