Lines Matching refs:offset
63 protected $offset = 1;
111 * Request to start at a specific offset/percentage of entries.
113 * @param int $offset
116 public function startAt(int $offset)
118 $this->offset = $offset;
131 $this->offset = ($this->offset - $size < 0) ? 0 : $this->offset - $size;
144 $this->offset = ($this->asPercentage && ($this->offset + $size) > 100) ? 100 : $this->offset + $size;
187 * Get the servers entry offset of the current list.
208 * Use listOffset for a specific entry offset position.
301 # An offset of 1 and a content size of zero starts from the beginning entry (server uses its assumed count).
310 $offset = $this->offset;
312 if ($this->asPercentage && $this->offset > 100) {
313 $offset = 100;
314 } elseif ($this->asPercentage && $this->offset < 0) {
315 $offset = 0;
319 $offset = (int) round(((int) $this->control->getCount() / 100) * $offset);
322 return Controls::vlv($this->before, $this->after, $offset, $count, $contextId);