From: Matthias Schmidt Date: Wed, 16 Jan 2013 15:05:42 +0000 (+0100) Subject: Renames ITitledDatabaseObject/ILinkableDatabaseObject X-Git-Tag: 2.0.0_Beta_1~560 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06f0b02567b054bcc2100b07634f16f8ecb0d02f;p=GitHub%2FWoltLab%2FWCF.git Renames ITitledDatabaseObject/ILinkableDatabaseObject --- diff --git a/wcfsetup/install/files/lib/data/ILinkableDatabaseObject.class.php b/wcfsetup/install/files/lib/data/ILinkableDatabaseObject.class.php deleted file mode 100644 index 597a9404a0..0000000000 --- a/wcfsetup/install/files/lib/data/ILinkableDatabaseObject.class.php +++ /dev/null @@ -1,21 +0,0 @@ - - * @package com.woltlab.wcf - * @subpackage data - * @category Community Framework - */ -interface ILinkableDatabaseObject { - /** - * Returns the link to this database object. - * - * @return string - */ - public function getLink(); -} diff --git a/wcfsetup/install/files/lib/data/ILinkableObject.class.php b/wcfsetup/install/files/lib/data/ILinkableObject.class.php new file mode 100644 index 0000000000..4ab2d95c65 --- /dev/null +++ b/wcfsetup/install/files/lib/data/ILinkableObject.class.php @@ -0,0 +1,21 @@ + + * @package com.woltlab.wcf + * @subpackage data + * @category Community Framework + */ +interface ILinkableObject { + /** + * Returns the link to the object. + * + * @return string + */ + public function getLink(); +} diff --git a/wcfsetup/install/files/lib/data/ITitledDatabaseObject.class.php b/wcfsetup/install/files/lib/data/ITitledDatabaseObject.class.php deleted file mode 100644 index fbaca8946a..0000000000 --- a/wcfsetup/install/files/lib/data/ITitledDatabaseObject.class.php +++ /dev/null @@ -1,21 +0,0 @@ - - * @package com.woltlab.wcf - * @subpackage data - * @category Community Framework - */ -interface ITitledDatabaseObject { - /** - * Returns the title of this database object. - * - * @return string - */ - public function getTitle(); -} diff --git a/wcfsetup/install/files/lib/data/ITitledObject.class.php b/wcfsetup/install/files/lib/data/ITitledObject.class.php new file mode 100644 index 0000000000..5868550a21 --- /dev/null +++ b/wcfsetup/install/files/lib/data/ITitledObject.class.php @@ -0,0 +1,21 @@ + + * @package com.woltlab.wcf + * @subpackage data + * @category Community Framework + */ +interface ITitledObject { + /** + * Returns the title of the object. + * + * @return string + */ + public function getTitle(); +} 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. *