Lines Matching refs:int
51 * @var int
56 * @var int
61 * @var int
84 * @param int $before
85 * @param int $after
87 public function __construct(LdapClient $client, SearchRequest $search, $sort, int $after = 100, int $before = 0)
113 * @param int $offset
116 public function startAt(int $offset)
126 * @param int $size
129 public function moveBackward(int $size)
139 * @param int $size
142 public function moveForward(int $size)
152 * @param int $position
155 public function moveTo(int $position)
163 * @param int $after
166 public function afterPosition(int $after)
176 * @param int $before
179 public function beforePosition(int $before)
189 * @return int|null
191 public function listOffset(): ?int
199 * @return int|null
201 public function listSize(): ?int
210 * @return int|null
212 public function position(): ?int
221 return (int) round($pos / ((int) $control->getCount() / 100));
239 if ((((int) $control->getOffset() + $this->after) >= (int) $control->getCount())) {
257 if ($this->before !== 0 && ((int) $control->getOffset() - $this->before) <= 1) {
302 $count = ($this->control !== null) ? (int) $this->control->getCount() : 0;
319 $offset = (int) round(((int) $this->control->getCount() / 100) * $offset);