61 $this->signal_generator = $signal_generator;
71 $clone->initSignals();
82 $this->internal_signal = $this->signal_generator->create();
102 $clone = clone $this;
103 $clone->target_url =
$url;
104 $clone->paramter_name = $parameter_name;
130 $clone = clone $this;
131 $clone->total_entries =
$total;
142 $clone = clone $this;
143 $clone->page_size =
$size;
161 $clone = clone $this;
162 $clone->current_page = $page;
196 $pages = ceil($this->total_entries / $this->page_size);
206 $clone = clone $this;
207 $clone->max_pages_shown = $amount;
226 if ($this->
getOffset() + $this->page_size > $this->total_entries) {
227 return $this->total_entries - $this->
getOffset();
238 $clone = clone $this;
239 $clone->dd_threshold = $amount;
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. ...