Another small part of code. Please, review.
new method for the Iterator - getCursor
setFromArray method. And the json issue.
The setFromArray() function I think is unneeded. It does pretty much the same thing as __setData() or am I missing something?
__setData creates new Generic property if it doesn't exist. setFromArray is just useful helper (for me, but you should decide).
it should be here.
pagination adapter for the zend framework 1
kkamkou - It seems you have committed other code to your repo since opening this pull request. As a result this pull request also includes those commits which shouldn't be merged in.
Also could we not add an optional flag '$addNewProperties = true' to __setData rather than add a new function? If the default is true it would be backward compatible and in your case you just set it to false?
So if you would like this feature please can you add it as an optional feature of __setData in a fresh branch by itself and open another pull request?