Passing parameters to controller's constructor
I have a controller which has several methods which should all share common informations. Let's say my URI format is like this:

    http://server/users/id/admin/index
    http://server/users/id/admin/new
    http://server/users/id/admin/list
    http://server/users/id/admin/delete

I need to retrieve some informations from the database for `id` and have them available for all methods instead of writing a line in each of them to call the model. How can I do this?
Passing parameters to controller's constructor
===

I have a controller which has several methods which should all share common informations. Let's say my URI format is like this:

    http://server/users/id/admin/index
    http://server/users/id/admin/new
    http://server/users/id/admin/list
    http://server/users/id/admin/delete

I need to retrieve some informations from the database for `id` and have them available for all methods instead of writing a line in each of them to call the model. How can I do this?