How do I specify which class a model should use as its Resultset?

I'm trying to extend resultset to use have some additional internal maps and I can't see where to specify which class a model should use for its resultsets.



44.9k
edited Feb '15

I'm looking through the Phalcon 2.0 Zephir code and it doesn't look like Phalcon is currently designed to easily extend the Resultset. It looks like I'd have to pretty much reimplement the entirety of the Model::find method in PHP code. That looks like too much maintainance, so I'm considering just wrapping the resultset to add some value to it.