Welcome Guest, Not a member yet? Register   Sign In
Can I call Doctrine models from within a CI controller?

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


to get the desired results?

Theme © iAndrew 2016 - Forum software by © MyBB