X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fclass_FrameworkInterface.php;h=724e57d7e47b3bebaf884152eb2fa688d96466a7;hb=bde1a7331a8a5c1e4a304583c0db268026aeb8a8;hp=101f1e44018d0cd4a80e617a8861f187e869db15;hpb=1ee35e6d96c456b8e3499bd683f1647aa28bd501;p=core.git diff --git a/inc/classes/interfaces/class_FrameworkInterface.php b/inc/classes/interfaces/class_FrameworkInterface.php index 101f1e44..724e57d7 100644 --- a/inc/classes/interfaces/class_FrameworkInterface.php +++ b/inc/classes/interfaces/class_FrameworkInterface.php @@ -5,7 +5,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @todo Find a better name for this interface @@ -33,6 +33,15 @@ interface FrameworkInterface { */ function getField ($fieldName); + /** + * Checks if given field is set + * + * @param $fieldName Field name to check + * @return $isSet Whether the given field name is set + * @throws NullPointerException If the result instance is null + */ + function isFieldSet ($fieldName); + /** * Checks whether an object equals this object. You should overwrite this * method to implement own equality checks