ILIAS
release_7 Revision v7.30-3-g800a261c036
|
ALL More...
Static Public Member Functions | |
static | returnDbTableName () |
![]() | |
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 |
![]() | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
Protected Member Functions | |
hasUserDismissed (ilObjUser $ilObjUser) | |
isVisible () | |
isVisibleRoleUserRoles (ilObjUser $ilObjUser) | |
hasEventStarted () | |
hasDisplayStarted () | |
hasEventEnded () | |
hasDisplayEnded () | |
getTime () | |
![]() | |
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' | |
![]() | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Static Protected Attributes | |
static | $allowed_user_ids = array(0, 13, 6) |
Additional Inherited Members | |
![]() | |
static | getCalledClass () |
static | fromCamelCase ($str) |
ilADNNotification::create | ( | ) |
Definition at line 419 of file class.ilADNNotification.php.
References $DIC, setCreateDate(), and setCreatedBy().
ilADNNotification::dismiss | ( | ilObjUser | $ilObjUser | ) |
ilObjUser | $ilObjUser |
Definition at line 50 of file class.ilADNNotification.php.
References ilADNDismiss\dismiss(), and isUserAllowedToDismiss().
ilADNNotification::getActiveType | ( | ) |
Definition at line 107 of file class.ilADNNotification.php.
References getType(), getTypeDuringEvent(), hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
ilADNNotification::getBody | ( | ) |
ilADNNotification::getConnectorContainerName | ( | ) |
Definition at line 33 of file class.ilADNNotification.php.
ilADNNotification::getCreateDate | ( | ) |
Definition at line 567 of file class.ilADNNotification.php.
ilADNNotification::getCreatedBy | ( | ) |
ilADNNotification::getDismissable | ( | ) |
Definition at line 522 of file class.ilADNNotification.php.
References $dismissable.
Referenced by hasUserDismissed(), and isUserAllowedToDismiss().
ilADNNotification::getDisplayEnd | ( | ) |
Definition at line 442 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded().
ilADNNotification::getDisplayStart | ( | ) |
Definition at line 452 of file class.ilADNNotification.php.
Referenced by hasDisplayStarted().
ilADNNotification::getEventEnd | ( | ) |
Definition at line 462 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventEnded().
ilADNNotification::getEventStart | ( | ) |
Definition at line 472 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventStarted().
ilADNNotification::getFullTimeFormated | ( | ) |
Definition at line 80 of file class.ilADNNotification.php.
References getEventEnd(), and getEventStart().
ilADNNotification::getId | ( | ) |
Definition at line 482 of file class.ilADNNotification.php.
References $id.
Referenced by ilADNDismiss\dismiss(), ilADNDismiss\hasDimissed(), and resetForAllUsers().
ilADNNotification::getLimitedToRoleIds | ( | ) |
Definition at line 597 of file class.ilADNNotification.php.
References $limited_to_role_ids.
Referenced by isVisibleRoleUserRoles().
|
protected |
Definition at line 582 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), and hasEventStarted().
ilADNNotification::getTitle | ( | ) |
ilADNNotification::getType | ( | ) |
Definition at line 502 of file class.ilADNNotification.php.
References $type.
Referenced by getActiveType(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
ilADNNotification::getTypeDuringEvent | ( | ) |
Definition at line 512 of file class.ilADNNotification.php.
References $type_during_event.
Referenced by getActiveType(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
|
protected |
Definition at line 542 of file class.ilADNNotification.php.
References getDisplayEnd(), and getTime().
Referenced by getActiveType(), and isVisible().
|
protected |
Definition at line 532 of file class.ilADNNotification.php.
References getDisplayStart(), and getTime().
Referenced by getActiveType(), and isVisible().
|
protected |
Definition at line 537 of file class.ilADNNotification.php.
References getEventEnd(), and getTime().
Referenced by getActiveType(), isDuringEvent(), and isVisible().
|
protected |
Definition at line 527 of file class.ilADNNotification.php.
References getEventStart(), and getTime().
Referenced by getActiveType(), isDuringEvent(), and isVisible().
|
protected |
ilObjUser | $ilObjUser |
Definition at line 61 of file class.ilADNNotification.php.
References getDismissable(), and ilADNDismiss\hasDimissed().
Referenced by isVisibleForUser().
ilADNNotification::isActive | ( | ) |
ilADNNotification::isDuringEvent | ( | ) |
Definition at line 557 of file class.ilADNNotification.php.
References hasEventEnded(), and hasEventStarted().
Referenced by ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
ilADNNotification::isLimitToRoles | ( | ) |
Definition at line 607 of file class.ilADNNotification.php.
References $limit_to_roles.
Referenced by isVisibleRoleUserRoles().
ilADNNotification::isPermanent | ( | ) |
Definition at line 552 of file class.ilADNNotification.php.
References $permanent.
Referenced by getActiveType(), ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation(), and isVisible().
ilADNNotification::isUserAllowedToDismiss | ( | ilObjUser | $ilUser | ) |
ilObjUser | $ilUser |
Definition at line 99 of file class.ilADNNotification.php.
References ANONYMOUS_USER_ID, getDismissable(), and ilObject\getId().
Referenced by dismiss(), and ilADNDismiss\dismiss().
|
protected |
Definition at line 123 of file class.ilADNNotification.php.
References hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
Referenced by isVisibleForUser().
ilADNNotification::isVisibleForUser | ( | ilObjUser | $ilObjUser | ) |
ilObjUser | $ilObjUser |
Definition at line 140 of file class.ilADNNotification.php.
References ilObject\getId(), hasUserDismissed(), isVisible(), and isVisibleRoleUserRoles().
|
protected |
ilObjUser | $ilObjUser |
Definition at line 163 of file class.ilADNNotification.php.
References $DIC, ilObject\getId(), getLimitedToRoleIds(), and isLimitToRoles().
Referenced by isVisibleForUser().
ilADNNotification::resetForAllUsers | ( | ) |
Definition at line 70 of file class.ilADNNotification.php.
References getId(), and ActiveRecord\where().
|
static |
Definition at line 42 of file class.ilADNNotification.php.
ilADNNotification::setActive | ( | bool | $active | ) |
ilADNNotification::setBody | ( | string | $body | ) |
ilADNNotification::setCreateDate | ( | DateTimeImmutable | $create_date | ) |
Definition at line 562 of file class.ilADNNotification.php.
References $create_date.
Referenced by create().
ilADNNotification::setCreatedBy | ( | int | $created_by | ) |
Definition at line 572 of file class.ilADNNotification.php.
References $created_by.
Referenced by create().
ilADNNotification::setDismissable | ( | bool | $dismissable | ) |
ilADNNotification::setDisplayEnd | ( | DateTimeImmutable | $display_end | ) |
ilADNNotification::setDisplayStart | ( | DateTimeImmutable | $display_start | ) |
ilADNNotification::setEventEnd | ( | DateTimeImmutable | $event_end | ) |
ilADNNotification::setEventStart | ( | DateTimeImmutable | $event_start | ) |
ilADNNotification::setId | ( | int | $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 | ) |
ilADNNotification::setPermanent | ( | bool | $permanent | ) |
ilADNNotification::setTitle | ( | string | $title | ) |
ilADNNotification::setType | ( | int | $type | ) |
ilADNNotification::setTypeDuringEvent | ( | int | $type_during_event | ) |
ilADNNotification::wakeUp | ( | $field_name, | |
$field_value | |||
) |
string | $field_name | |
string | $field_value |
Definition at line 354 of file class.ilADNNotification.php.
References $allowed_users, and ActiveRecord\sleep().
|
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.
|
protected |
Definition at line 263 of file class.ilADNNotification.php.
Referenced by wakeUp().
|
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.
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().