diff options
| author | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2024-06-18 13:18:06 +0000 |
|---|---|---|
| committer | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2024-06-18 13:18:06 +0000 |
| commit | 33fd1358507b4a5abb3dcebe78d407d0567717c1 (patch) | |
| tree | 6bd8f6959da4c3fc1b8907c0bbc28eb9e10d4a5a /lib/classes/Range.interface.php | |
| parent | 42d46671c0309bddb71a91bbfdc5f2fa2e44384e (diff) | |
Deprecate `StudipAutoloader` and use composer's `autoload`
Closes #4282
Merge request studip/studip!3099
Diffstat (limited to 'lib/classes/Range.interface.php')
| -rw-r--r-- | lib/classes/Range.interface.php | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/classes/Range.interface.php b/lib/classes/Range.interface.php deleted file mode 100644 index 97aa074..0000000 --- a/lib/classes/Range.interface.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/** - * Generic range interface. Ranges may be a lot of things in Stud.IP. - * - * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> - * @license GPL2 or any later version - */ -interface Range -{ - /** - * Returns a descriptive text for the range type. - * - * @return string - */ - public function describeRange(); - - /** - * Returns a unique identificator for the range type. - * - * @return string - */ - public function getRangeType(); - - /** - * Returns the id of the current range - * - * @return mixed (string|int) - */ - public function getRangeId(); - - /** - * Returns the full name of the range (in given format). - * - * @param string $format - * @return string - */ - public function getFullName($format = 'default'); - - /** - * Returns the configuration object for this range. - * @return RangeConfig - */ - public function getConfiguration(); - - /** - * Decides whether the user may access the range. - * - * @param string|null $user_id Optional id of a user, defaults to current user - * @return bool - */ - public function isAccessibleToUser($user_id = null); - - /** - * Decides whether the user may edit/alter the range. - * - * @param string|null $user_id Optional id of a user, defaults to current user - * @return bool - */ - public function isEditableByUser($user_id = null); - - - /** - * @return string A string representation of the Range instance. - */ - public function __toString() : string; -} |
