TODO code below does not work, I had commented out and set a mark for you, because I do not know what he's doing:

// if(isset($criteria['hint']) && (is_array($criteria['hint']) || is_string($criteria['hint'])))
// $this->_cursor->hint($criteria['hint']);