Hey,

That will not give him the ability to access the request object in his view
script. Unless he would like to get the front controllers instance directly
inside the view script file.

Vince.

On Mon, Apr 27, 2009 at 9:14 AM, Sudheer Satyanarayana <
[email protected]> wrote:

> prado wrote:
>
>> BTW Vince
>>
>> How can i use this below straight from the view without putting in a
>> variable from the controller?
>>
>> cheers
>>
>>
> Access the request object. And then you can read the controller name:
> $request->getControllerName();
>
> This link might help -
> http://techchorus.net/how-access-request-object-any-part-your-application
>
>
> --
>
> With warm regards,
> Sudheer. S
> Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net,
> Personal: http://sudheer.net
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to