LimitIterator::__constructConstruct a LimitIterator
&reftitle.description;
publicLimitIterator::__constructIteratoriteratorintoffset0intcount-1
Constructs a new LimitIterator from an
iterator with a given starting
offset and maximum count.
&reftitle.parameters;
iterator
The Iterator to limit.
offset
Optional offset of the limit.
count
Optional count of the limit.
&reftitle.returnvalues;
The new LimitIterator.
&reftitle.errors;
Throws an OutOfRangeException
if the offset is less than 0
or the count is less than -1.
&reftitle.examples;
LimitIterator::__construct example
]]>
&example.outputs;
&reftitle.seealso;
LimitIterator examples