ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilStudyProgrammeAdvancedMetadataRecord.php
Go to the documentation of this file.
1 <?php declare(strict_types = 1);
2 
10 {
11 
16  protected $id;
17 
22  protected $type_id = 0;
23 
28  protected $rec_id = 0;
29 
30 
31  public function __construct(int $id)
32  {
33  $this->id = $id;
34  }
35 
39  public function getId() : int
40  {
41  return $this->id;
42  }
43 
44 
48  public function setId(int $id)
49  {
50  $this->id = $id;
51  }
52 
53 
57  public function getTypeId() : int
58  {
59  return $this->type_id;
60  }
61 
62 
66  public function setTypeId(int $type_id = null)
67  {
68  $this->type_id = $type_id;
69  }
70 
71 
75  public function getRecId() : int
76  {
77  return $this->rec_id;
78  }
79 
80 
84  public function setRecId(int $rec_id = null)
85  {
86  $this->rec_id = $rec_id;
87  }
88 }