Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-05 Thread Nick Lo
Hi Rob, No problem, I didn't feel belittled. I'd presumed you'd skimmed over it and shot off a reply. Just shows you're busy but still eager to help! Thanks, Nick I like the way you say "nowadays" in an "well yes, that was how we used to do it back in the day, but of course, the modern w

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-05 Thread Rob Allen
Nick Lo wrote: > Hi Rob, > >> Nowadays, you should override Zend_Controller_Action::init() rather than >> override the constructor. Zend_Controller_Action::__construct() calls >> init() as the last thing it does. > > I like the way you say "nowadays" in an "well yes, that was how we used > to do

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-05 Thread Matthew Weier O'Phinney
-- Nick Lo <[EMAIL PROTECTED]> wrote (on Tuesday, 05 December 2006, 08:51 PM +1100): > Hi Rob, > > >Nowadays, you should override Zend_Controller_Action::init() rather > >than > >override the constructor. Zend_Controller_Action::__construct() calls > >init() as the last thing it does. > > I lik

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-05 Thread Nick Lo
Hi Rob, Nowadays, you should override Zend_Controller_Action::init() rather than override the constructor. Zend_Controller_Action::__construct() calls init() as the last thing it does. I like the way you say "nowadays" in an "well yes, that was how we used to do it back in the day, but of

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-05 Thread Rob Allen
Nick Lo wrote: > > Anyway, I finally narrowed it down... > > Before I was first extending Zend_Controller_Action with a general file > something like: > > class IndexController extends Zend_Controller_Action > { > public function __construct() > { > parent::__construct(); >

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-04 Thread Nick Lo
Hi Martel, 2077 is not related to controller in any way but let's try resolving your problem. I was just using it as a point of reference as in "I'm currently using svn checkout 2077". I'm using incubator version of Zend_Config which, according to the wiki manual, should be instantiated

Re: [fw-general] SVN 2077: Getting parameters from route

2006-12-04 Thread Martel Valgoerad
Nick Lo wrote: SVN checkout 2077 seems to have broken the ability to get parameters from a rewrite route url (that or I've been doing it all wrong)... 2077 is not related to controller in any way but let's try resolving your problem. In index.php: $router = new Zend_Controller_RewriteRoute

[fw-general] SVN 2077: Getting parameters from route

2006-12-03 Thread Nick Lo
SVN checkout 2077 seems to have broken the ability to get parameters from a rewrite route url (that or I've been doing it all wrong)... In ini config: routes.article.route = article/:ref routes.article.defaults.controller = articles routes.article.defaults.action = view In index.php: $router