75 $this->dropdown_label = self::DEFAULT_DROPDOWN_LABEL;
84 $clone->initSignals();
95 $this->internal_signal = $this->signal_generator->create();
113 $clone = clone $this;
114 $clone->target_url =
$url;
141 $clone = clone $this;
142 $clone->total_entries =
$total;
153 $clone = clone $this;
154 $clone->page_size =
$size;
172 $clone = clone $this;
173 $clone->current_page = $page;
204 $pages = ceil($this->total_entries / $this->page_size);
214 $clone = clone $this;
215 $clone->max_pages_shown = $amount;
229 if ($this->
getOffset() + $this->page_size > $this->total_entries) {
230 return $this->total_entries - $this->
getOffset();
241 $clone = clone $this;
242 $clone->dd_threshold = $amount;
259 $clone = clone $this;
260 $clone->dropdown_label = $template;
277 return self::DEFAULT_DROPDOWN_LABEL;
282 $f = new \ILIAS\Data\Factory();
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
checkIntArg($which, $value)
Throw an InvalidArgumentException if $value is no int.
A simple class to express a naive range of whole positive numbers.
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event. ...