In applying the answer from a previous question, I tried overriding one of CakePHP\'s built-in pagination methods:
function paginateCount($conditions = null, $re
I've fixed this without really addressing the question I asked.
Instead of passing the adjusted parameters up the chain as I wanted to do in my above example, I've used them to do the same job directly:
return $this->find('count', compact($conditions, $recursive, $extra));
This works OK, but doesn't explain the odd behaviour that caused me to ask the question in the first place. My guess is that Cake is doing something funky with virtual/"automagic" methods.