ported ArrayDataProviderIterator from yii-1