$request = request
When I write this in controller, it will work. But if i need this variable in Model or Application controller, How can i ?
you will need to do a hack to get request.uri in the model. which is not recommended. You should pass it as a params in the method which is defined in the model.