From bee9c15d1a88646ebaa9edd91743a7ad76a87583 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 24 Mar 2015 21:19:55 +0100 Subject: [PATCH] Moved interface to 'core'. Signed-off-by: Roland Haeder --- application/hub/interfaces/lists/.htaccess | 1 - .../hub/interfaces/lists/class_Listable.php | 89 ------------------- core | 2 +- 3 files changed, 1 insertion(+), 91 deletions(-) delete mode 100644 application/hub/interfaces/lists/.htaccess delete mode 100644 application/hub/interfaces/lists/class_Listable.php diff --git a/application/hub/interfaces/lists/.htaccess b/application/hub/interfaces/lists/.htaccess deleted file mode 100644 index 3a4288278..000000000 --- a/application/hub/interfaces/lists/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Deny from all diff --git a/application/hub/interfaces/lists/class_Listable.php b/application/hub/interfaces/lists/class_Listable.php deleted file mode 100644 index dff1b93bc..000000000 --- a/application/hub/interfaces/lists/class_Listable.php +++ /dev/null @@ -1,89 +0,0 @@ - - * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team - * @license GNU GPL 3.0 or any newer version - * @link http://www.shipsimu.org - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -interface Listable extends FrameworkInterface, IteratorAggregate { - /** - * Checks whether the given group is set - * - * @param $groupName Group to check if found in list - * @return $isset Whether the group is valid - */ - function isGroupSet ($groupName); - - /** - * Adds the given group or if already added issues a ListGroupAlreadyAddedException - * - * @param $groupName Group to add - * @return void - * @throws ListGroupAlreadyAddedException If the given group is already added - */ - function addGroup ($groupName); - - /** - * Adds the given instance to list group and sub group - * - * @param $groupName Group to add instance to - * @param $subGroup Sub group to add instance to - * @param $visitableInstance An instance of Visitable - * @return void - * @throws NoListGroupException If the given group is not found - */ - function addInstance ($groupName, $subGroup, Visitable $visitableInstance); - - /** - * Adds the given entry to list group - * - * @param $groupName Group to add instance to - * @param $entry An entry of any type - * @return void - * @throws NoListGroupException If the given group is not found - */ - function addEntry ($groupName, $entry); - - /** - * Updates the given entry by hash with given array - * - * @param $hash Hash for this entry - * @param $entryArray Array with entry we should update - * @return void - * @throws InvalidListHashException If the solved hash index is invalid - */ - function updateCurrentEntryByHash ($hash, array $entryArray); - - /** - * "Getter" for an iterator instance of this list - * - * @return $iteratorInstance An instance of a Iterator class - */ - function getListIterator (); - - /** - * Clears this list (mostly by clearing all groups together) - * - * @return void - */ - function clearList (); -} - -// [EOF] -?> diff --git a/core b/core index cc089c43f..2150ea7c0 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit cc089c43f020e43a2637f1c605382fcbaf5f75d2 +Subproject commit 2150ea7c03709aa97a42ea85da64bf9df1598b82 -- 2.39.5