public function rewind()
{
$this->debug('iterating foreach');
// phpQuery::selectDocument($this->getDocumentID());
$this->elementsBackup = $this->elements;
$this->elementsInterator = $this->elements;
$this->valid = isset($this->elements[0]) ? 1 : 0;
// $this->elements = $this->valid
// ? array($this->elements[0])
// : array();
$this->current = 0;
}