Zend_Paginator Without Adapter Data

If you simply want to take advantage of Zend_Paginators page generation function without feeding it actual data, how do you do it? Simple, implement Zend_Paginator_Adapter_Interface in your custom class and override three functions like below:

Then you can use it as you would the paginator class – the only parameter to the constructor is the total number of items to base the paging against.