Why wouldn't you?

Dalibor Karlović wrote:
On Tuesday 26 May 2009 20:40:38 Vladas Diržys wrote:
Hi,

what is the right way to get a db (or any other) resource in the
controller? Now I'm using following line:
$this->getFrontController()->getParam('bootstrap')->getResource('db');

Why do you need you DB instance inside your controller?


Reply via email to