ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Notifications\Model\OSD\ilOSDNotificationObject Class Reference
+ Collaboration diagram for ILIAS\Notifications\Model\OSD\ilOSDNotificationObject:

Public Member Functions

 __construct (protected int $id, protected int $user, protected ilNotificationObject $object, protected ?int $time_added=0, protected ?int $valid_until=0, protected ?int $visible_for=0, protected ?string $type='', protected ?NotificationIdentification $identification=null)
 
 getId ()
 
 getUser ()
 
 getObject ()
 
 getValidUntil ()
 
 setValidUntil (int $valid_until)
 
 getVisibleFor ()
 
 setVisibleFor (int $visible_for)
 
 getTimeAdded ()
 
 setTimeAdded (int $time_added)
 
 getType ()
 
 setType (string $type)
 
 getIdentification ()
 
 setIdentification (NotificationIdentification $identification)
 

Detailed Description

Author
Ingmar Szmais iszma.nosp@m.is@d.nosp@m.ataba.nosp@m.y.de

Definition at line 29 of file ilOSDNotificationObject.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::__construct ( protected int  $id,
protected int  $user,
protected ilNotificationObject  $object,
protected ?int  $time_added = 0,
protected ?int  $valid_until = 0,
protected ?int  $visible_for = 0,
protected ?string  $type = '',
protected ?NotificationIdentification  $identification = null 
)

Definition at line 31 of file ilOSDNotificationObject.php.

40  {
41  }

Member Function Documentation

◆ getId()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getId ( )

Definition at line 43 of file ilOSDNotificationObject.php.

References $id.

43  : int
44  {
45  return $this->id;
46  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

◆ getIdentification()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getIdentification ( )

Definition at line 98 of file ilOSDNotificationObject.php.

98  : NotificationIdentification
99  {
100  return $this->identification;
101  }

◆ getObject()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getObject ( )

Definition at line 53 of file ilOSDNotificationObject.php.

53  : ilNotificationObject
54  {
55  return $this->object;
56  }

◆ getTimeAdded()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getTimeAdded ( )

Definition at line 78 of file ilOSDNotificationObject.php.

78  : int
79  {
80  return $this->time_added;
81  }

◆ getType()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getType ( )

Definition at line 88 of file ilOSDNotificationObject.php.

88  : string
89  {
90  return $this->type;
91  }

◆ getUser()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getUser ( )

Definition at line 48 of file ilOSDNotificationObject.php.

48  : int
49  {
50  return $this->user;
51  }

◆ getValidUntil()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getValidUntil ( )

Definition at line 58 of file ilOSDNotificationObject.php.

58  : int
59  {
60  return $this->valid_until;
61  }

◆ getVisibleFor()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::getVisibleFor ( )

Definition at line 68 of file ilOSDNotificationObject.php.

68  : int
69  {
70  return $this->visible_for;
71  }

◆ setIdentification()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::setIdentification ( NotificationIdentification  $identification)

Definition at line 103 of file ilOSDNotificationObject.php.

103  : void
104  {
105  $this->identification = $identification;
106  }

◆ setTimeAdded()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::setTimeAdded ( int  $time_added)

Definition at line 83 of file ilOSDNotificationObject.php.

83  : void
84  {
85  $this->time_added = $time_added;
86  }

◆ setType()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::setType ( string  $type)

Definition at line 93 of file ilOSDNotificationObject.php.

93  : void
94  {
95  $this->type = $type;
96  }

◆ setValidUntil()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::setValidUntil ( int  $valid_until)

Definition at line 63 of file ilOSDNotificationObject.php.

63  : void
64  {
65  $this->valid_until = $valid_until;
66  }

◆ setVisibleFor()

ILIAS\Notifications\Model\OSD\ilOSDNotificationObject::setVisibleFor ( int  $visible_for)

Definition at line 73 of file ilOSDNotificationObject.php.

73  : void
74  {
75  $this->visible_for = $visible_for;
76  }

The documentation for this class was generated from the following file: