|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
@noinspection ALL 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 ($old_name, $new_name) |
| static | tableExists () |
| static | fieldExists ($field_name) |
| static | removeDBField ($field_name) |
| static | updateDB () |
| static | resetDB () |
| static | truncateDB () |
| static | flushDB () |
| static | preloadObjects () |
| static | additionalParams (array $additional_params) |
| static | findOrFail ($primary_key, array $add_constructor_args=array()) |
| 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=array()) |
| static | where ($where, $operator=null) |
| static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
| static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
| static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
| static | orderBy ($orderBy, $orderDirection='ASC') |
| static | dateFormat ($date_format='d.m.Y - H:i:s') |
| static | limit ($start, $end) |
| static | affectedRows () |
| static | count () |
| static | get () |
| static | debug () |
| static | first () |
| static | getCollection () |
| static | last () |
| static | getFirstFromLastQuery () |
| static | connector (arConnector $connector) |
| static | raw ($set_raw=true) |
| static | getArray ($key=null, $values=null) |
| static | _toCamelCase ($str, $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 |
Data Fields inherited from ActiveRecord | |
| const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Member Functions | |
| hasUserDismissed (ilObjUser $ilObjUser) | |
| isVisible () | |
| isVisibleRoleUserRoles (ilObjUser $ilObjUser) | |
| hasEventStarted () | |
| hasDisplayStarted () | |
| hasEventEnded () | |
| hasDisplayEnded () | |
| getTime () | |
Protected Member Functions inherited from ActiveRecord | |
| serializeToCSV ($field) | |
| This method is called for every field of your instance if you use __asCsv. More... | |
| installDatabase () | |
Protected Attributes | |
| $id | |
| $title = '' | |
| $body = '' | |
| $event_start | |
| $event_end | |
| $display_start | |
| $display_end | |
| $type = self::TYPE_INFO | |
| $type_during_event = self::TYPE_ERROR | |
| $dismissable = true | |
| $permanent = true | |
| $allowed_users = array(0, 6, 13) | |
| $parent_id = null | |
| $create_date | |
| $last_update | |
| $created_by = null | |
| $last_update_by = null | |
| $active = true | |
| $limited_to_role_ids = [] | |
| $limit_to_roles = false | |
| $interruptive = false | |
| $link = '' | |
| $link_type = self::LINK_TYPE_NONE | |
| $link_target = '_top' | |
Protected Attributes inherited from ActiveRecord | |
| $ar_safe_read = true | |
| $connector_container_name = '' | |
Static Protected Attributes | |
| static | $allowed_user_ids = array(0, 13, 6) |
Additional Inherited Members | |
Static Protected Member Functions inherited from ActiveRecord | |
| static | getCalledClass () |
| static | fromCamelCase ($str) |
@noinspection ALL
Class ilADNNotification
Definition at line 8 of file class.ilADNNotification.php.
| ilADNNotification::create | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 419 of file class.ilADNNotification.php.
References $DIC, setCreateDate(), and setCreatedBy().
Here is the call graph for this function:| ilADNNotification::dismiss | ( | ilObjUser | $ilObjUser | ) |
| ilObjUser | $ilObjUser |
Definition at line 50 of file class.ilADNNotification.php.
References ilADNDismiss\dismiss(), and isUserAllowedToDismiss().
Here is the call graph for this function:| ilADNNotification::getActiveType | ( | ) |
Definition at line 107 of file class.ilADNNotification.php.
References getType(), getTypeDuringEvent(), hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
Here is the call graph for this function:| ilADNNotification::getBody | ( | ) |
Definition at line 432 of file class.ilADNNotification.php.
References $body.
| ilADNNotification::getConnectorContainerName | ( | ) |
Reimplemented from ActiveRecord.
Definition at line 33 of file class.ilADNNotification.php.
References TABLE_NAME.
| ilADNNotification::getCreateDate | ( | ) |
Definition at line 567 of file class.ilADNNotification.php.
| ilADNNotification::getCreatedBy | ( | ) |
Definition at line 577 of file class.ilADNNotification.php.
References $created_by.
| ilADNNotification::getDismissable | ( | ) |
Definition at line 522 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 442 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded().
Here is the caller graph for this function:| ilADNNotification::getDisplayStart | ( | ) |
Definition at line 452 of file class.ilADNNotification.php.
Referenced by hasDisplayStarted().
Here is the caller graph for this function:| ilADNNotification::getEventEnd | ( | ) |
Definition at line 462 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventEnded().
Here is the caller graph for this function:| ilADNNotification::getEventStart | ( | ) |
Definition at line 472 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventStarted().
Here is the caller graph for this function:| ilADNNotification::getFullTimeFormated | ( | ) |
Definition at line 80 of file class.ilADNNotification.php.
References getEventEnd(), and getEventStart().
Here is the call graph for this function:| ilADNNotification::getId | ( | ) |
Definition at line 482 of file class.ilADNNotification.php.
References $id.
Referenced by ilADNDismiss\dismiss(), ilADNDismiss\hasDimissed(), and resetForAllUsers().
Here is the caller graph for this function:| ilADNNotification::getLimitedToRoleIds | ( | ) |
Definition at line 597 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 582 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 492 of file class.ilADNNotification.php.
References $title.
| ilADNNotification::getType | ( | ) |
Definition at line 502 of file class.ilADNNotification.php.
References $type.
Referenced by getActiveType().
Here is the caller graph for this function:| ilADNNotification::getTypeDuringEvent | ( | ) |
Definition at line 512 of file class.ilADNNotification.php.
References $type_during_event.
Referenced by getActiveType().
Here is the caller graph for this function:
|
protected |
Definition at line 542 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 532 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 537 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 527 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:
|
protected |
| ilObjUser | $ilObjUser |
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 | ( | ) |
Definition at line 587 of file class.ilADNNotification.php.
References $active.
| ilADNNotification::isDuringEvent | ( | ) |
Definition at line 557 of file class.ilADNNotification.php.
References hasEventEnded(), and hasEventStarted().
Here is the call graph for this function:| ilADNNotification::isLimitToRoles | ( | ) |
Definition at line 607 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 552 of file class.ilADNNotification.php.
References $permanent.
Referenced by getActiveType(), and isVisible().
Here is the caller graph for this function:| ilADNNotification::isUserAllowedToDismiss | ( | ilObjUser | $ilUser | ) |
| ilObjUser | $ilUser |
Definition at line 99 of file class.ilADNNotification.php.
References $ilUser, ANONYMOUS_USER_ID, and getDismissable().
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 123 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 | ) |
| ilObjUser | $ilObjUser |
Definition at line 140 of file class.ilADNNotification.php.
References ilObject\getId(), hasUserDismissed(), isVisible(), and isVisibleRoleUserRoles().
Here is the call graph for this function:
|
protected |
| ilObjUser | $ilObjUser |
Definition at line 163 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:| 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 |
Reimplemented from ActiveRecord.
Definition at line 42 of file class.ilADNNotification.php.
References TABLE_NAME.
| ilADNNotification::setActive | ( | bool | $active | ) |
Definition at line 592 of file class.ilADNNotification.php.
References $active.
| ilADNNotification::setBody | ( | string | $body | ) |
Definition at line 427 of file class.ilADNNotification.php.
References $body.
| ilADNNotification::setCreateDate | ( | DateTimeImmutable | $create_date | ) |
Definition at line 562 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 572 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 517 of file class.ilADNNotification.php.
References $dismissable.
| ilADNNotification::setDisplayEnd | ( | DateTimeImmutable | $display_end | ) |
Definition at line 437 of file class.ilADNNotification.php.
References $display_end.
| ilADNNotification::setDisplayStart | ( | DateTimeImmutable | $display_start | ) |
Definition at line 447 of file class.ilADNNotification.php.
References $display_start.
| ilADNNotification::setEventEnd | ( | DateTimeImmutable | $event_end | ) |
Definition at line 457 of file class.ilADNNotification.php.
References $event_end.
| ilADNNotification::setEventStart | ( | DateTimeImmutable | $event_start | ) |
Definition at line 467 of file class.ilADNNotification.php.
References $event_start.
| ilADNNotification::setId | ( | int | $id | ) |
Definition at line 477 of file class.ilADNNotification.php.
References $id.
| ilADNNotification::setLimitedToRoleIds | ( | array | $limited_to_role_ids | ) |
Definition at line 602 of file class.ilADNNotification.php.
References $limited_to_role_ids.
| ilADNNotification::setLimitToRoles | ( | bool | $limit_to_roles | ) |
Definition at line 612 of file class.ilADNNotification.php.
References $limit_to_roles.
| ilADNNotification::setPermanent | ( | bool | $permanent | ) |
Definition at line 547 of file class.ilADNNotification.php.
References $permanent.
| ilADNNotification::setTitle | ( | string | $title | ) |
Definition at line 487 of file class.ilADNNotification.php.
References $title.
| ilADNNotification::setType | ( | int | $type | ) |
Definition at line 497 of file class.ilADNNotification.php.
References $type.
| ilADNNotification::setTypeDuringEvent | ( | int | $type_during_event | ) |
Definition at line 507 of file class.ilADNNotification.php.
References $type_during_event.
| ilADNNotification::wakeUp | ( | $field_name, | |
| $field_value | |||
| ) |
| string | $field_name | |
| string | $field_value |
Reimplemented from ActiveRecord.
Definition at line 354 of file class.ilADNNotification.php.
References $allowed_user_ids.
|
protected |
Definition at line 305 of file class.ilADNNotification.php.
Referenced by isActive(), and setActive().
|
staticprotected |
Definition at line 28 of file class.ilADNNotification.php.
Referenced by wakeUp().
|
protected |
Definition at line 263 of file class.ilADNNotification.php.
|
protected |
Definition at line 200 of file class.ilADNNotification.php.
|
protected |
Definition at line 277 of file class.ilADNNotification.php.
Referenced by setCreateDate().
|
protected |
Definition at line 291 of file class.ilADNNotification.php.
Referenced by getCreatedBy(), and setCreatedBy().
|
protected |
Definition at line 249 of file class.ilADNNotification.php.
Referenced by getDismissable(), and setDismissable().
|
protected |
Definition at line 228 of file class.ilADNNotification.php.
Referenced by setDisplayEnd().
|
protected |
Definition at line 221 of file class.ilADNNotification.php.
Referenced by setDisplayStart().
|
protected |
Definition at line 214 of file class.ilADNNotification.php.
Referenced by setEventEnd().
|
protected |
Definition at line 207 of file class.ilADNNotification.php.
Referenced by setEventStart().
|
protected |
Definition at line 187 of file class.ilADNNotification.php.
|
protected |
Definition at line 326 of file class.ilADNNotification.php.
|
protected |
Definition at line 284 of file class.ilADNNotification.php.
|
protected |
Definition at line 298 of file class.ilADNNotification.php.
|
protected |
Definition at line 319 of file class.ilADNNotification.php.
Referenced by isLimitToRoles(), and setLimitToRoles().
|
protected |
Definition at line 312 of file class.ilADNNotification.php.
Referenced by getLimitedToRoleIds(), and setLimitedToRoleIds().
|
protected |
Definition at line 333 of file class.ilADNNotification.php.
|
protected |
Definition at line 347 of file class.ilADNNotification.php.
|
protected |
Definition at line 340 of file class.ilADNNotification.php.
|
protected |
Definition at line 270 of file class.ilADNNotification.php.
|
protected |
Definition at line 256 of file class.ilADNNotification.php.
Referenced by isPermanent(), and setPermanent().
|
protected |
Definition at line 194 of file class.ilADNNotification.php.
Referenced by getTitle(), and setTitle().
|
protected |
Definition at line 235 of file class.ilADNNotification.php.
|
protected |
Definition at line 242 of file class.ilADNNotification.php.
Referenced by getTypeDuringEvent(), and setTypeDuringEvent().
| const ilADNNotification::DATE_FORMAT = 'd.m.Y' |
Definition at line 15 of file class.ilADNNotification.php.
| const ilADNNotification::DATE_TIME_FORMAT = 'd.m.Y H:i' |
Definition at line 17 of file class.ilADNNotification.php.
| const ilADNNotification::LINK_TYPE_NONE = 0 |
Definition at line 22 of file class.ilADNNotification.php.
| const ilADNNotification::LINK_TYPE_REF_ID = 1 |
Definition at line 23 of file class.ilADNNotification.php.
| const ilADNNotification::LINK_TYPE_URL = 2 |
Definition at line 24 of file class.ilADNNotification.php.
| const ilADNNotification::POS_BOTTOM = 4 |
Definition at line 14 of file class.ilADNNotification.php.
| const ilADNNotification::POS_RIGHT = 2 |
Definition at line 12 of file class.ilADNNotification.php.
| const ilADNNotification::POS_TOP = 1 |
Definition at line 11 of file class.ilADNNotification.php.
| const ilADNNotification::POST_LEFT = 3 |
Definition at line 13 of file class.ilADNNotification.php.
| const ilADNNotification::TABLE_NAME = 'il_adn_notifications' |
Definition at line 21 of file class.ilADNNotification.php.
Referenced by getConnectorContainerName(), and returnDbTableName().
| const ilADNNotification::TIME_FORMAT = 'H:i' |
Definition at line 16 of file class.ilADNNotification.php.
| const ilADNNotification::TYPE_ERROR = 3 |
Definition at line 20 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
| const ilADNNotification::TYPE_INFO = 1 |
Definition at line 18 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
| const ilADNNotification::TYPE_WARNING = 2 |
Definition at line 19 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().