ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Static Public Member Functions | |
static | returnDbTableName () |
![]() | |
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=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, array $fields=array(' *'), string $operator='=', $both_external=false) |
static | innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
static | leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false) |
static | orderBy ($orderBy, string $orderDirection='ASC') |
static | dateFormat (string $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 (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 () | |
isVisibleRoleUserRoles (ilObjUser $ilObjUser) | |
hasEventStarted () | |
hasDisplayStarted () | |
hasEventEnded () | |
hasDisplayEnded () | |
getTime () | |
![]() | |
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_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... | |
![]() | |
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 | 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 374 of file class.ilADNNotification.php.
References $DIC, setCreateDate(), and setCreatedBy().
ilADNNotification::dismiss | ( | ilObjUser | $ilObjUser | ) |
Definition at line 54 of file class.ilADNNotification.php.
References ilADNDismiss\dismiss(), and isUserAllowedToDismiss().
ilADNNotification::getActiveType | ( | ) |
Definition at line 101 of file class.ilADNNotification.php.
References getType(), getTypeDuringEvent(), hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
ilADNNotification::getBody | ( | ) |
ilADNNotification::getConnectorContainerName | ( | ) |
Definition at line 41 of file class.ilADNNotification.php.
ilADNNotification::getCreateDate | ( | ) |
Definition at line 525 of file class.ilADNNotification.php.
ilADNNotification::getCreatedBy | ( | ) |
Definition at line 535 of file class.ilADNNotification.php.
References $created_by.
ilADNNotification::getDismissable | ( | ) |
Definition at line 480 of file class.ilADNNotification.php.
References $dismissable.
Referenced by hasUserDismissed(), and isUserAllowedToDismiss().
ilADNNotification::getDisplayEnd | ( | ) |
Definition at line 397 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded().
ilADNNotification::getDisplayStart | ( | ) |
Definition at line 407 of file class.ilADNNotification.php.
Referenced by hasDisplayStarted().
ilADNNotification::getEventEnd | ( | ) |
Definition at line 417 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventEnded().
ilADNNotification::getEventStart | ( | ) |
Definition at line 427 of file class.ilADNNotification.php.
Referenced by getFullTimeFormated(), and hasEventStarted().
ilADNNotification::getFullTimeFormated | ( | ) |
Definition at line 77 of file class.ilADNNotification.php.
References getEventEnd(), and getEventStart().
ilADNNotification::getId | ( | ) |
Definition at line 437 of file class.ilADNNotification.php.
References $id.
Referenced by ilADNDismiss\dismiss(), ilADNDismiss\hasDimissed(), and resetForAllUsers().
ilADNNotification::getLimitedToRoleIds | ( | ) |
Definition at line 555 of file class.ilADNNotification.php.
References $limited_to_role_ids.
Referenced by isVisibleRoleUserRoles().
|
protected |
Definition at line 540 of file class.ilADNNotification.php.
Referenced by hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), and hasEventStarted().
ilADNNotification::getTitle | ( | ) |
ilADNNotification::getType | ( | ) |
Definition at line 457 of file class.ilADNNotification.php.
References $type.
Referenced by getActiveType(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
ilADNNotification::getTypeDuringEvent | ( | ) |
Definition at line 467 of file class.ilADNNotification.php.
Referenced by getActiveType(), and ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
|
protected |
Definition at line 500 of file class.ilADNNotification.php.
References getDisplayEnd(), and getTime().
Referenced by getActiveType(), and isVisible().
|
protected |
Definition at line 490 of file class.ilADNNotification.php.
References getDisplayStart(), and getTime().
Referenced by getActiveType(), and isVisible().
|
protected |
Definition at line 495 of file class.ilADNNotification.php.
References getEventEnd(), and getTime().
Referenced by getActiveType(), isDuringEvent(), and isVisible().
|
protected |
Definition at line 485 of file class.ilADNNotification.php.
References getEventStart(), and getTime().
Referenced by getActiveType(), isDuringEvent(), and isVisible().
|
protected |
Definition at line 61 of file class.ilADNNotification.php.
References getDismissable(), and ilADNDismiss\hasDimissed().
Referenced by isVisibleForUser().
ilADNNotification::isActive | ( | ) |
ilADNNotification::isDuringEvent | ( | ) |
Definition at line 515 of file class.ilADNNotification.php.
References hasEventEnded(), and hasEventStarted().
Referenced by ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
ilADNNotification::isLimitToRoles | ( | ) |
Definition at line 565 of file class.ilADNNotification.php.
References $limit_to_roles.
Referenced by isVisibleRoleUserRoles().
ilADNNotification::isPermanent | ( | ) |
Definition at line 510 of file class.ilADNNotification.php.
References $permanent.
Referenced by getActiveType(), ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation(), and isVisible().
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().
|
protected |
Definition at line 116 of file class.ilADNNotification.php.
References hasDisplayEnded(), hasDisplayStarted(), hasEventEnded(), hasEventStarted(), and isPermanent().
Referenced by isVisibleForUser().
ilADNNotification::isVisibleForUser | ( | ilObjUser | $ilObjUser | ) |
Definition at line 130 of file class.ilADNNotification.php.
References $interruptive, ilObject\getId(), hasUserDismissed(), isVisible(), and isVisibleRoleUserRoles().
|
protected |
Definition at line 145 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 49 of file class.ilADNNotification.php.
ilADNNotification::setActive | ( | bool | $active | ) |
ilADNNotification::setBody | ( | string | $body | ) |
ilADNNotification::setCreateDate | ( | DateTimeImmutable | $create_date | ) |
Definition at line 520 of file class.ilADNNotification.php.
References $create_date.
Referenced by create().
ilADNNotification::setCreatedBy | ( | int | $created_by | ) |
Definition at line 530 of file class.ilADNNotification.php.
References $created_by.
Referenced by create().
ilADNNotification::setDismissable | ( | bool | $dismissable | ) |
Definition at line 475 of file class.ilADNNotification.php.
References $dismissable.
ilADNNotification::setDisplayEnd | ( | DateTimeImmutable | $display_end | ) |
Definition at line 392 of file class.ilADNNotification.php.
References $display_end.
ilADNNotification::setDisplayStart | ( | DateTimeImmutable | $display_start | ) |
Definition at line 402 of file class.ilADNNotification.php.
References $display_start.
ilADNNotification::setEventEnd | ( | DateTimeImmutable | $event_end | ) |
Definition at line 412 of file class.ilADNNotification.php.
References $event_end.
ilADNNotification::setEventStart | ( | DateTimeImmutable | $event_start | ) |
Definition at line 422 of file class.ilADNNotification.php.
References $event_start.
ilADNNotification::setId | ( | int | $id | ) |
Definition at line 432 of file class.ilADNNotification.php.
References $id.
ilADNNotification::setLimitedToRoleIds | ( | array | $limited_to_role_ids | ) |
Definition at line 560 of file class.ilADNNotification.php.
References $limited_to_role_ids.
ilADNNotification::setLimitToRoles | ( | bool | $limit_to_roles | ) |
Definition at line 570 of file class.ilADNNotification.php.
References $limit_to_roles.
ilADNNotification::setPermanent | ( | bool | $permanent | ) |
Definition at line 505 of file class.ilADNNotification.php.
References $permanent.
ilADNNotification::setTitle | ( | string | $title | ) |
ilADNNotification::setType | ( | int | $type | ) |
ilADNNotification::setTypeDuringEvent | ( | int | $type_during_event | ) |
Definition at line 462 of file class.ilADNNotification.php.
References $type_during_event.
ilADNNotification::wakeUp | ( | $field_name, | |
$field_value | |||
) |
string | $field_name | |
mixed | $field_value |
Definition at line 314 of file class.ilADNNotification.php.
References ILIAS\Repository\int(), and ActiveRecord\sleep().
|
protected |
true integer 1
Definition at line 271 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 235 of file class.ilADNNotification.php.
|
protected |
true clob
Definition at line 181 of file class.ilADNNotification.php.
|
protected |
true integer 8
Definition at line 247 of file class.ilADNNotification.php.
Referenced by setCreateDate().
|
protected |
true integer 8
Definition at line 259 of file class.ilADNNotification.php.
Referenced by getCreatedBy(), and setCreatedBy().
|
protected |
true integer 1
Definition at line 223 of file class.ilADNNotification.php.
Referenced by getDismissable(), and setDismissable().
|
protected |
true integer 8
Definition at line 205 of file class.ilADNNotification.php.
Referenced by setDisplayEnd().
|
protected |
true integer 8
Definition at line 199 of file class.ilADNNotification.php.
Referenced by setDisplayStart().
|
protected |
true integer 8
Definition at line 193 of file class.ilADNNotification.php.
Referenced by setEventEnd().
|
protected |
true integer 8
Definition at line 187 of file class.ilADNNotification.php.
Referenced by setEventStart().
|
protected |
true true true true integer 8
Definition at line 170 of file class.ilADNNotification.php.
|
protected |
true integer 1
Definition at line 289 of file class.ilADNNotification.php.
Referenced by isVisibleForUser().
|
protected |
true integer 8
Definition at line 253 of file class.ilADNNotification.php.
|
protected |
true integer 8
Definition at line 265 of file class.ilADNNotification.php.
|
protected |
true integer 1
Definition at line 283 of file class.ilADNNotification.php.
Referenced by isLimitToRoles(), and setLimitToRoles().
|
protected |
true text 256
Definition at line 277 of file class.ilADNNotification.php.
Referenced by getLimitedToRoleIds(), and setLimitedToRoleIds().
|
protected |
true text 256
Definition at line 295 of file class.ilADNNotification.php.
|
protected |
true text 256
Definition at line 307 of file class.ilADNNotification.php.
|
protected |
true integer 1
Definition at line 301 of file class.ilADNNotification.php.
|
protected |
true integer 8
Definition at line 241 of file class.ilADNNotification.php.
|
protected |
true integer 1
Definition at line 229 of file class.ilADNNotification.php.
Referenced by isPermanent(), and setPermanent().
|
protected |
true text 256
Definition at line 176 of file class.ilADNNotification.php.
Referenced by getTitle(), and setTitle().
|
protected |
true integer 1
Definition at line 211 of file class.ilADNNotification.php.
|
protected |
true integer 1
Definition at line 217 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\AdministrativeNotification\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\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation().
const ilADNNotification::TYPE_WARNING = 2 |
Definition at line 33 of file class.ilADNNotification.php.
Referenced by ilADNNotificationUIFormGUI\getDenotations(), ILIAS\AdministrativeNotification\GlobalScreen\ADNProvider\handleDenotation(), and ilServicesAdministrativeNotificationTest\testBasisc().