> yea, hmm.. or we could do it say like:
> Controller::getModel('Default', 'NavBar::getInstance', array('Full',
> 'CrazyGermans'));

And then explode the string by "::"? Would work. It's not as transparent,
though. Because it's actually NavBarModel::getInstance() being called later.
Why don't you like an array as parameter? It's less code anyway ;) And the
standard way of doing those things in PHP...

- David


_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to