| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilADNNotification:
 Collaboration diagram for ilADNNotification:Static Public Member Functions | |
| static | returnDbTableName () | 
  Static Public Member Functions inherited from ActiveRecord | |
| static | returnDbTableName () | 
| static | installDB () | 
| static | renameDBField (string $old_name, string $new_name) | 
| static | tableExists () | 
| static | fieldExists (string $field_name) | 
| static | removeDBField (string $field_name) | 
| static | updateDB () | 
| static | resetDB () | 
| static | truncateDB () | 
| static | flushDB () | 
| never use in ILIAS Core, Plugins only  More... | |
| static | preloadObjects () | 
| static | additionalParams (array $additional_params) | 
| static | findOrFail ($primary_key, array $add_constructor_args=[]) | 
| Tries to find the object and throws an Exception if object is not found, instead of returning null.  More... | |
| static | findOrGetInstance ($primary_key, array $add_constructor_args=[]) | 
| static | where ($where, $operator=null) | 
| static | innerjoinAR (ActiveRecord $activeRecord, $on_this, $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | 
| static | innerjoin ( $tablename, $on_this, $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | 
| static | leftjoin ( $tablename, $on_this, $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) | 
| static | orderBy (string $orderBy, string $orderDirection='ASC') | 
| static | dateFormat (string $date_format='d.m.Y - H:i:s') | 
| static | limit (int $start, int $end) | 
| static | affectedRows () | 
| static | count () | 
| static | get () | 
| static | debug () | 
| static | first () | 
| static | getCollection () | 
| static | last () | 
| static | getFirstFromLastQuery () | 
| static | connector (arConnector $arConnector) | 
| static | raw (bool $set_raw=true) | 
| static | getArray (?string $key=null, $values=null) | 
| static | _toCamelCase (string $str, bool $capitalise_first_char=false) | 
Data Fields | |
| const | POS_TOP = 1 | 
| const | POS_RIGHT = 2 | 
| const | POST_LEFT = 3 | 
| const | POS_BOTTOM = 4 | 
| const | DATE_FORMAT = 'd.m.Y' | 
| const | TIME_FORMAT = 'H:i' | 
| const | DATE_TIME_FORMAT = 'd.m.Y H:i' | 
| const | TYPE_INFO = 1 | 
| const | TYPE_WARNING = 2 | 
| const | TYPE_ERROR = 3 | 
| const | TABLE_NAME = 'il_adn_notifications' | 
| const | LINK_TYPE_NONE = 0 | 
| const | LINK_TYPE_REF_ID = 1 | 
| const | LINK_TYPE_URL = 2 | 
Protected Member Functions | |
| hasUserDismissed (ilObjUser $ilObjUser) | |
| isVisible () | |
| isVisibleToUserBasedOnLanguage (ilObjUser $ilObjUser) | |
| isVisibleRoleUserRoles (ilObjUser $ilObjUser) | |
| hasEventStarted () | |
| hasDisplayStarted () | |
| hasEventEnded () | |
| hasDisplayEnded () | |
| getTime () | |
  Protected Member Functions inherited from ActiveRecord | |
| installDatabase () | |
Protected Attributes | |
| int | $id = null | 
| true  true  true  true  integer  8  More... | |
| string | $title = '' | 
| true  text  256  More... | |
| string | $body = '' | 
| true  clob  More... | |
| DateTimeImmutable | $event_start = null | 
| true  integer  8  More... | |
| DateTimeImmutable | $event_end = null | 
| true  integer  8  More... | |
| DateTimeImmutable | $display_start = null | 
| true  integer  8  More... | |
| DateTimeImmutable | $display_end = null | 
| true  integer  8  More... | |
| int | $type = self::TYPE_INFO | 
| true  integer  1  More... | |
| int | $type_during_event = self::TYPE_ERROR | 
| true  integer  1  More... | |
| bool | $dismissable = true | 
| true  integer  1  More... | |
| bool | $permanent = true | 
| true  integer  1  More... | |
| array | $allowed_users = array(0, 6, 13) | 
| true  text  256  More... | |
| int | $parent_id = null | 
| true  integer  8  More... | |
| DateTimeImmutable | $create_date = null | 
| true  integer  8  More... | |
| DateTimeImmutable | $last_update | 
| true  integer  8  More... | |
| int | $created_by = null | 
| true  integer  8  More... | |
| int | $last_update_by = null | 
| true  integer  8  More... | |
| bool | $active = true | 
| true  integer  1  More... | |
| array | $limited_to_languages = [] | 
| true  text  256  More... | |
| bool | $has_language_limitation = false | 
| true  integer  1  More... | |
| array | $limited_to_role_ids = [] | 
| true  text  256  More... | |
| bool | $limit_to_roles = false | 
| true  integer  1  More... | |
| bool | $interruptive = false | 
| true  integer  1  More... | |
| string | $link = '' | 
| true  text  256  More... | |
| int | $link_type = self::LINK_TYPE_NONE | 
| true  integer  1  More... | |
| string | $link_target = '_top' | 
| true  text  256  More... | |
  Protected Attributes inherited from ActiveRecord | |
| bool | $ar_safe_read = true | 
| string | $connector_container_name = '' | 
| bool | $is_new = true | 
Static Protected Attributes | |
| static array | $allowed_user_ids = array(0, 13, 6) | 
Additional Inherited Members | |
  Static Protected Member Functions inherited from ActiveRecord | |
| static | getCalledClass () | 
| Returns an instance of the instatiated calling active record (needs to be done in static methods)  : This should be cached somehow  More... | |
| static | fromCamelCase (string $str) | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilADNNotification
Definition at line 23 of file class.ilADNNotification.php.
| ilADNNotification::create | ( | ) | 
Definition at line 398 of file class.ilADNNotification.php.
References $DIC, setCreateDate(), and setCreatedBy().
 Here is the call graph for this function:| ilADNNotification::dismiss | ( | ilObjUser | $ilObjUser | ) | 
Definition at line 54 of file class.ilADNNotification.php.
References ilADNDismiss\dismiss(), and isUserAllowedToDismiss().
 Here is the call graph for this function:| ilADNNotification::getActiveType | ( | ) | 
Definition at line 101 of file class.ilADNNotification.php.
References getType(), getTypeDuringEvent(), hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
 Here is the call graph for this function:| ilADNNotification::getBody | ( | ) | 
| ilADNNotification::getConnectorContainerName | ( | ) | 
Definition at line 41 of file class.ilADNNotification.php.
| ilADNNotification::getCreateDate | ( | ) | 
Definition at line 549 of file class.ilADNNotification.php.
| ilADNNotification::getCreatedBy | ( | ) | 
Definition at line 559 of file class.ilADNNotification.php.
References $created_by.
| ilADNNotification::getDismissable | ( | ) | 
Definition at line 504 of file class.ilADNNotification.php.
References $dismissable.
Referenced by hasUserDismissed(), and isUserAllowedToDismiss().
 Here is the caller graph for this function:| ilADNNotification::getDisplayEnd | ( | ) | 
Definition at line 421 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded().
 Here is the caller graph for this function:| ilADNNotification::getDisplayStart | ( | ) | 
Definition at line 431 of file class.ilADNNotification.php.
Referenced by hasDisplayStarted().
 Here is the caller graph for this function:| ilADNNotification::getEventEnd | ( | ) | 
Definition at line 441 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventEnded().
 Here is the caller graph for this function:| ilADNNotification::getEventStart | ( | ) | 
Definition at line 451 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventStarted().
 Here is the caller graph for this function:| ilADNNotification::getFullTimeFormated | ( | ) | 
Definition at line 77 of file class.ilADNNotification.php.
References getEventEnd(), and getEventStart().
 Here is the call graph for this function:| ilADNNotification::getId | ( | ) | 
Definition at line 461 of file class.ilADNNotification.php.
References $id.
Referenced by ilADNNotificationGUI\confirmDelete(), ilADNDismiss\dismiss(), ilADNDismiss\hasDimissed(), and resetForAllUsers().
 Here is the caller graph for this function:| ilADNNotification::getLimitedToLanguages | ( | ) | 
Definition at line 579 of file class.ilADNNotification.php.
References $limited_to_languages.
Referenced by isVisibleToUserBasedOnLanguage().
 Here is the caller graph for this function:| ilADNNotification::getLimitedToRoleIds | ( | ) | 
Definition at line 599 of file class.ilADNNotification.php.
References $limited_to_role_ids.
Referenced by isVisibleRoleUserRoles().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 564 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), and hasEventStarted().
 Here is the caller graph for this function:| ilADNNotification::getTitle | ( | ) | 
Definition at line 471 of file class.ilADNNotification.php.
References $title.
Referenced by ilADNNotificationGUI\confirmDelete().
 Here is the caller graph for this function:| ilADNNotification::getType | ( | ) | 
Definition at line 481 of file class.ilADNNotification.php.
References $type.
Referenced by getActiveType(), and ILIAS\GlobalScreen\ADNProvider\handleDenotation().
 Here is the caller graph for this function:| ilADNNotification::getTypeDuringEvent | ( | ) | 
Definition at line 491 of file class.ilADNNotification.php.
Referenced by getActiveType(), and ILIAS\GlobalScreen\ADNProvider\handleDenotation().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 524 of file class.ilADNNotification.php.
References getDisplayEnd(), and getTime().
Referenced by getActiveType(), and isVisible().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 514 of file class.ilADNNotification.php.
References getDisplayStart(), and getTime().
Referenced by getActiveType(), and isVisible().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 519 of file class.ilADNNotification.php.
References getEventEnd(), and getTime().
Referenced by getActiveType(), isDuringEvent(), and isVisible().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 509 of file class.ilADNNotification.php.
References getEventStart(), and getTime().
Referenced by getActiveType(), isDuringEvent(), and isVisible().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilADNNotification::hasLanguageLimitation | ( | ) | 
Definition at line 589 of file class.ilADNNotification.php.
References $has_language_limitation.
Referenced by isVisibleToUserBasedOnLanguage().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 61 of file class.ilADNNotification.php.
References getDismissable(), and ilADNDismiss\hasDimissed().
Referenced by isVisibleForUser().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilADNNotification::isActive | ( | ) | 
| ilADNNotification::isDuringEvent | ( | ) | 
Definition at line 539 of file class.ilADNNotification.php.
References hasEventEnded(), and hasEventStarted().
Referenced by ILIAS\GlobalScreen\ADNProvider\handleDenotation().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilADNNotification::isLimitToRoles | ( | ) | 
Definition at line 609 of file class.ilADNNotification.php.
References $limit_to_roles.
Referenced by isVisibleRoleUserRoles().
 Here is the caller graph for this function:| ilADNNotification::isPermanent | ( | ) | 
Definition at line 534 of file class.ilADNNotification.php.
References $permanent.
Referenced by getActiveType(), ILIAS\GlobalScreen\ADNProvider\handleDenotation(), and isVisible().
 Here is the caller graph for this function:| ilADNNotification::isUserAllowedToDismiss | ( | ilObjUser | $user | ) | 
Definition at line 96 of file class.ilADNNotification.php.
References ANONYMOUS_USER_ID, getDismissable(), and ilObject\getId().
Referenced by dismiss(), and ilADNDismiss\dismiss().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 116 of file class.ilADNNotification.php.
References hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
Referenced by isVisibleForUser().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilADNNotification::isVisibleForUser | ( | ilObjUser | $ilObjUser | ) | 
Definition at line 130 of file class.ilADNNotification.php.
References $interruptive, ilObject\getId(), hasUserDismissed(), isVisible(), isVisibleRoleUserRoles(), and isVisibleToUserBasedOnLanguage().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 155 of file class.ilADNNotification.php.
References $DIC, ilObject\getId(), getLimitedToRoleIds(), and isLimitToRoles().
Referenced by isVisibleForUser().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 145 of file class.ilADNNotification.php.
References ilObjUser\getLanguage(), getLimitedToLanguages(), and hasLanguageLimitation().
Referenced by isVisibleForUser().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilADNNotification::resetForAllUsers | ( | ) | 
Definition at line 70 of file class.ilADNNotification.php.
References getId(), and ActiveRecord\where().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 49 of file class.ilADNNotification.php.
| ilADNNotification::setActive | ( | bool | $active | ) | 
| ilADNNotification::setBody | ( | string | $body | ) | 
| ilADNNotification::setCreateDate | ( | DateTimeImmutable | $create_date | ) | 
Definition at line 544 of file class.ilADNNotification.php.
References $create_date.
Referenced by create().
 Here is the caller graph for this function:| ilADNNotification::setCreatedBy | ( | int | $created_by | ) | 
Definition at line 554 of file class.ilADNNotification.php.
References $created_by.
Referenced by create().
 Here is the caller graph for this function:| ilADNNotification::setDismissable | ( | bool | $dismissable | ) | 
Definition at line 499 of file class.ilADNNotification.php.
References $dismissable.
| ilADNNotification::setDisplayEnd | ( | DateTimeImmutable | $display_end | ) | 
Definition at line 416 of file class.ilADNNotification.php.
References $display_end.
| ilADNNotification::setDisplayStart | ( | DateTimeImmutable | $display_start | ) | 
Definition at line 426 of file class.ilADNNotification.php.
References $display_start.
| ilADNNotification::setEventEnd | ( | DateTimeImmutable | $event_end | ) | 
Definition at line 436 of file class.ilADNNotification.php.
References $event_end.
| ilADNNotification::setEventStart | ( | DateTimeImmutable | $event_start | ) | 
Definition at line 446 of file class.ilADNNotification.php.
References $event_start.
| ilADNNotification::setHasLanguageLimitation | ( | bool | $has_language_limitation | ) | 
Definition at line 594 of file class.ilADNNotification.php.
References $has_language_limitation.
| ilADNNotification::setId | ( | int | $id | ) | 
Definition at line 456 of file class.ilADNNotification.php.
References $id.
| ilADNNotification::setLimitedToLanguages | ( | array | $limited_to_languages | ) | 
Definition at line 584 of file class.ilADNNotification.php.
References $limited_to_languages.
| ilADNNotification::setLimitedToRoleIds | ( | array | $limited_to_role_ids | ) | 
Definition at line 604 of file class.ilADNNotification.php.
References $limited_to_role_ids.
| ilADNNotification::setLimitToRoles | ( | bool | $limit_to_roles | ) | 
Definition at line 614 of file class.ilADNNotification.php.
References $limit_to_roles.
| ilADNNotification::setPermanent | ( | bool | $permanent | ) | 
Definition at line 529 of file class.ilADNNotification.php.
References $permanent.
| ilADNNotification::setTitle | ( | string | $title | ) | 
| ilADNNotification::setType | ( | int | $type | ) | 
| ilADNNotification::setTypeDuringEvent | ( | int | $type_during_event | ) | 
Definition at line 486 of file class.ilADNNotification.php.
References $type_during_event.
| ilADNNotification::wakeUp | ( | $field_name, | |
| $field_value | |||
| ) | 
| string | $field_name | |
| mixed | $field_value | 
Definition at line 336 of file class.ilADNNotification.php.
References $datetime, $user_id, ILIAS\Repository\int(), ActiveRecord\sleep(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
 Here is the call graph for this function:
      
  | 
  protected | 
true integer 1
Definition at line 281 of file class.ilADNNotification.php.
Referenced by isActive(), and setActive().
      
  | 
  staticprotected | 
Definition at line 39 of file class.ilADNNotification.php.
      
  | 
  protected | 
true text 256
Definition at line 245 of file class.ilADNNotification.php.
      
  | 
  protected | 
true clob
Definition at line 191 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 8
Definition at line 257 of file class.ilADNNotification.php.
Referenced by setCreateDate().
      
  | 
  protected | 
true integer 8
Definition at line 269 of file class.ilADNNotification.php.
Referenced by getCreatedBy(), and setCreatedBy().
      
  | 
  protected | 
true integer 1
Definition at line 233 of file class.ilADNNotification.php.
Referenced by getDismissable(), and setDismissable().
      
  | 
  protected | 
true integer 8
Definition at line 215 of file class.ilADNNotification.php.
Referenced by setDisplayEnd().
      
  | 
  protected | 
true integer 8
Definition at line 209 of file class.ilADNNotification.php.
Referenced by setDisplayStart().
      
  | 
  protected | 
true integer 8
Definition at line 203 of file class.ilADNNotification.php.
Referenced by setEventEnd().
      
  | 
  protected | 
true integer 8
Definition at line 197 of file class.ilADNNotification.php.
Referenced by setEventStart().
      
  | 
  protected | 
true integer 1
Definition at line 293 of file class.ilADNNotification.php.
Referenced by hasLanguageLimitation(), and setHasLanguageLimitation().
      
  | 
  protected | 
true true true true integer 8
Definition at line 180 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 1
Definition at line 311 of file class.ilADNNotification.php.
Referenced by isVisibleForUser().
      
  | 
  protected | 
true integer 8
Definition at line 263 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 8
Definition at line 275 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 1
Definition at line 305 of file class.ilADNNotification.php.
Referenced by isLimitToRoles(), and setLimitToRoles().
      
  | 
  protected | 
true text 256
Definition at line 287 of file class.ilADNNotification.php.
Referenced by getLimitedToLanguages(), and setLimitedToLanguages().
      
  | 
  protected | 
true text 256
Definition at line 299 of file class.ilADNNotification.php.
Referenced by getLimitedToRoleIds(), and setLimitedToRoleIds().
      
  | 
  protected | 
true text 256
Definition at line 317 of file class.ilADNNotification.php.
      
  | 
  protected | 
true text 256
Definition at line 329 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 1
Definition at line 323 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 8
Definition at line 251 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 1
Definition at line 239 of file class.ilADNNotification.php.
Referenced by isPermanent(), and setPermanent().
      
  | 
  protected | 
true text 256
Definition at line 186 of file class.ilADNNotification.php.
Referenced by getTitle(), and setTitle().
      
  | 
  protected | 
true integer 1
Definition at line 221 of file class.ilADNNotification.php.
      
  | 
  protected | 
true integer 1
Definition at line 227 of file class.ilADNNotification.php.
Referenced by setTypeDuringEvent().
| const ilADNNotification::DATE_FORMAT = 'd.m.Y' | 
Definition at line 29 of file class.ilADNNotification.php.
| const ilADNNotification::DATE_TIME_FORMAT = 'd.m.Y H:i' | 
Definition at line 31 of file class.ilADNNotification.php.
| const ilADNNotification::LINK_TYPE_NONE = 0 | 
Definition at line 36 of file class.ilADNNotification.php.
| const ilADNNotification::LINK_TYPE_REF_ID = 1 | 
Definition at line 37 of file class.ilADNNotification.php.
| const ilADNNotification::LINK_TYPE_URL = 2 | 
Definition at line 38 of file class.ilADNNotification.php.
| const ilADNNotification::POS_BOTTOM = 4 | 
Definition at line 28 of file class.ilADNNotification.php.
| const ilADNNotification::POS_RIGHT = 2 | 
Definition at line 26 of file class.ilADNNotification.php.
| const ilADNNotification::POS_TOP = 1 | 
Definition at line 25 of file class.ilADNNotification.php.
| const ilADNNotification::POST_LEFT = 3 | 
Definition at line 27 of file class.ilADNNotification.php.
| const ilADNNotification::TABLE_NAME = 'il_adn_notifications' | 
Definition at line 35 of file class.ilADNNotification.php.
| const ilADNNotification::TIME_FORMAT = 'H:i' | 
Definition at line 30 of file class.ilADNNotification.php.
| const ilADNNotification::TYPE_ERROR = 3 | 
Definition at line 34 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), ILIAS\GlobalScreen\ADNProvider\handleDenotation(), and ilServicesAdministrativeNotificationTest\testBasisc().
| const ilADNNotification::TYPE_INFO = 1 | 
Definition at line 32 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), and ILIAS\GlobalScreen\ADNProvider\handleDenotation().
| const ilADNNotification::TYPE_WARNING = 2 | 
Definition at line 33 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), ILIAS\GlobalScreen\ADNProvider\handleDenotation(), and ilServicesAdministrativeNotificationTest\testBasisc().