[eluser]developer10[/eluser]
A tutorial that i have been following kept the doctrine queries in CI controllers (doctrine is used as a CI plugin).
Now i wonder if i can put queries (written in DQL, of course) in corresponding model classes and have them called from within a controller, similar to how you would normally do with CI models
Code:
$this->model_name->some_function();
to get the desired results?