I think that's a poor example. I see a highlighting problem split into multiple classes.
The rule in my projects and at work is don't make a new function/method unless it is going to be reused. So, making multiple functions just so you don't have to pass a lot of stuff to one function is silly and creates unneccasary overhead for those of us that are not on the OO bandwagon.
(I am not saying there is anything wrong with OO, just that there are folks out here that still use PHP without OO. I know, shocking, shoot me now.)
Brian Moon Porum Dev Team -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php