From 06f0b02567b054bcc2100b07634f16f8ecb0d02f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 16 Jan 2013 16:05:42 +0100 Subject: [PATCH] Renames ITitledDatabaseObject/ILinkableDatabaseObject --- ...DatabaseObject.class.php => ILinkableObject.class.php} | 8 ++++---- ...edDatabaseObject.class.php => ITitledObject.class.php} | 8 ++++---- .../install/files/lib/data/category/Category.class.php | 4 ++-- .../files/lib/system/request/IRouteController.class.php | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) rename wcfsetup/install/files/lib/data/{ILinkableDatabaseObject.class.php => ILinkableObject.class.php} (61%) rename wcfsetup/install/files/lib/data/{ITitledDatabaseObject.class.php => ITitledObject.class.php} (61%) diff --git a/wcfsetup/install/files/lib/data/ILinkableDatabaseObject.class.php b/wcfsetup/install/files/lib/data/ILinkableObject.class.php similarity index 61% rename from wcfsetup/install/files/lib/data/ILinkableDatabaseObject.class.php rename to wcfsetup/install/files/lib/data/ILinkableObject.class.php index 597a9404a0..4ab2d95c65 100644 --- a/wcfsetup/install/files/lib/data/ILinkableDatabaseObject.class.php +++ b/wcfsetup/install/files/lib/data/ILinkableObject.class.php @@ -2,18 +2,18 @@ namespace wcf\data; /** - * This interface provides a method to access the link to a database object. + * Every linkable object has to implement this interface. * * @author Matthias Schmidt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data * @category Community Framework */ -interface ILinkableDatabaseObject { +interface ILinkableObject { /** - * Returns the link to this database object. + * Returns the link to the object. * * @return string */ diff --git a/wcfsetup/install/files/lib/data/ITitledDatabaseObject.class.php b/wcfsetup/install/files/lib/data/ITitledObject.class.php similarity index 61% rename from wcfsetup/install/files/lib/data/ITitledDatabaseObject.class.php rename to wcfsetup/install/files/lib/data/ITitledObject.class.php index fbaca8946a..5868550a21 100644 --- a/wcfsetup/install/files/lib/data/ITitledDatabaseObject.class.php +++ b/wcfsetup/install/files/lib/data/ITitledObject.class.php @@ -2,18 +2,18 @@ namespace wcf\data; /** - * This interface provides a method to access the title of a database object. + * Every titled object has to implement this interface. * * @author Matthias Schmidt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data * @category Community Framework */ -interface ITitledDatabaseObject { +interface ITitledObject { /** - * Returns the title of this database object. + * Returns the title of the object. * * @return string */ diff --git a/wcfsetup/install/files/lib/data/category/Category.class.php b/wcfsetup/install/files/lib/data/category/Category.class.php index 573954589d..cf1539fcda 100644 --- a/wcfsetup/install/files/lib/data/category/Category.class.php +++ b/wcfsetup/install/files/lib/data/category/Category.class.php @@ -9,7 +9,7 @@ use wcf\system\WCF; * Represents a category. * * @author Matthias Schmidt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.category @@ -106,7 +106,7 @@ class Category extends ProcessibleDatabaseObject implements IRouteController { } /** - * @see wcf\data\ITitledDatabaseObject::getTitle() + * @see wcf\data\ITitledObject::getTitle() */ public function getTitle() { return WCF::getLanguage()->get($this->title); diff --git a/wcfsetup/install/files/lib/system/request/IRouteController.class.php b/wcfsetup/install/files/lib/system/request/IRouteController.class.php index 9ed32a82af..e0dffb42ff 100644 --- a/wcfsetup/install/files/lib/system/request/IRouteController.class.php +++ b/wcfsetup/install/files/lib/system/request/IRouteController.class.php @@ -1,18 +1,18 @@ * @package com.woltlab.wcf * @subpackage system.request * @category Community Framework */ -interface IRouteController extends ITitledDatabaseObject { +interface IRouteController extends ITitledObject { /** * Returns the id of the object. * -- 2.20.1