67 $this->signal_generator = $signal_generator;
69 $this->dropdown_label = self::DEFAULT_DROPDOWN_LABEL;
78 $clone->initSignals();
89 $this->internal_signal = $this->signal_generator->create();
107 $clone = clone $this;
108 $clone->target_url =
$url;
135 $clone = clone $this;
136 $clone->total_entries =
$total;
147 $clone = clone $this;
148 $clone->page_size =
$size;
166 $clone = clone $this;
167 $clone->current_page = $page;
201 $pages = ceil($this->total_entries / $this->page_size);
211 $clone = clone $this;
212 $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;
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.
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event. ...