DocumentIterator
in package
implements
Iterator
Implementation of the document iterartor
Tags
Table of Contents
Interfaces
- Iterator
Properties
- $_cache : array<string|int, mixed>
- $_dms : object
- $_documents : array<string|int, mixed>
- $_folder : object
- $_pointer : int
Methods
- __construct() : mixed
- current() : mixed
- key() : mixed
- next() : void
- rewind() : void
- valid() : bool
- populate() : mixed
Properties
$_cache
protected
array<string|int, mixed>
$_cache
$_dms
protected
object
$_dms
dms
$_documents
protected
array<string|int, mixed>
$_documents
documents
$_folder
protected
object
$_folder
folder
$_pointer
protected
int
$_pointer
Methods
__construct()
public
__construct(mixed $folder) : mixed
Parameters
- $folder : mixed
current()
public
current() : mixed
key()
public
key() : mixed
next()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool
Return values
boolpopulate()
private
populate([mixed $orderby = "" ][, mixed $dir = "asc" ][, mixed $limit = 0 ][, mixed $offset = 0 ]) : mixed
Parameters
- $orderby : mixed = ""
- $dir : mixed = "asc"
- $limit : mixed = 0
- $offset : mixed = 0