X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fpoints%2Fclass_BookablePoints.php;h=f65d76a571ba6246f7c7cb1b997f3bc244f3f8b2;hb=917ee42b2aa87ee85bb0303062a020e6def9fc43;hp=73946e54fa57504a06697613670931b2d573bf76;hpb=c3106ae537f1d46274988826a070632a439e2c49;p=core.git diff --git a/inc/classes/interfaces/points/class_BookablePoints.php b/inc/classes/interfaces/points/class_BookablePoints.php index 73946e54..f65d76a5 100644 --- a/inc/classes/interfaces/points/class_BookablePoints.php +++ b/inc/classes/interfaces/points/class_BookablePoints.php @@ -2,11 +2,11 @@ /** * An interface for bookable points * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @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 @@ -21,12 +21,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface BookablePoints extends FrameworkInterface { +interface BookablePoints extends AddableCriteria { /** - * Checks wether the user has the required amount of points left for the specified action + * Checks whether the user has the required amount of points left for the specified action * * @param $action The action or configuration entry plus prefix the user wants to perform - * @return $hasRequired Wether the user has the required points + * @return $hasRequired Whether the user has the required points */ function ifUserHasRequiredPoints ($action); @@ -37,14 +37,6 @@ interface BookablePoints extends FrameworkInterface { * @return void */ function bookPointsDirectly ($amount); - - /** - * Adds registration elements to a given dataset instance - * - * @param $criteriaInstance An instance of a storeable criteria - * @return void - */ - function addElementsToDataSet (StoreableCriteria $criteriaInstance); } // [EOF]