ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilMMCustomItemStorage.php
Go to the documentation of this file.
1 <?php
2 
9 {
10 
20  protected $identifier = '';
28  protected $type = '';
36  protected $action = "";
44  protected $default_title = "";
52  protected $top_item = false;
56  protected $connector_container_name = "il_mm_custom_items";
57 
58 
62  public function getIdentifier() : string
63  {
64  return $this->identifier;
65  }
66 
67 
74  {
75  $this->identifier = $identifier;
76 
77  return $this;
78  }
79 
80 
84  public function getType() : string
85  {
86  return $this->type;
87  }
88 
89 
95  public function setType(string $type) : ilMMCustomItemStorage
96  {
97  $this->type = $type;
98 
99  return $this;
100  }
101 
102 
106  public function isTopItem() : bool
107  {
108  return $this->top_item;
109  }
110 
111 
118  {
119  $this->top_item = $top_item;
120 
121  return $this;
122  }
123 
124 
128  public function getAction() : string
129  {
130  return $this->action;
131  }
132 
133 
139  public function setAction(string $action) : ilMMCustomItemStorage
140  {
141  $this->action = $action;
142 
143  return $this;
144  }
145 
146 
150  public function getDefaultTitle() : string
151  {
152  return $this->default_title;
153  }
154 
155 
162  {
163  $this->default_title = $default_title;
164 
165  return $this;
166  }
167 
168 
172  public function getCache() : ilGlobalCache
173  {
175  }
176 }
Class ilMMCustomItemStorage.
Class CachedActiveRecord.
static getInstance($component)
setDefaultTitle(string $default_title)