Fatal error: Call to undefined function escape() in zend framework [duplicate]-Collection of common programming errors

Possible Duplicate:
escape method is not supported by view page in admin area or backend of site in zend framework?

I have installed zend framework properly on my localhost and got the zend framework default index page. Now I am using escape method in view page and run the page then it shows following error:-

Fatal error: Call to undefined function escape()…..

I am not getting the solution to remove this error, I have set the virtual host and create site structure using Zend_Tool command like- zf create project myproject.

A directory structure I have got in proper way and when I run my site on localhost, it shows a zend default index page. So I assume that zend has installed properly on my system. A directory structure created by zend_tool have a blank library folder and there is no bin folder is showing in created directory structure of myproject folder.

I am using latest version of zend framework 1.11.11

I am very confused that why escape() method is not working

I am using following code in controller:-

$this->view->assign('username', 'Username');    
$this->view->assign('password', 'Password');
$this->view->assign('rememberMe', 'Remember Me');

I am calling escape method in view page as following:-

:

In my controller I am not including any file. It is just a simple controller file like this:-

Originally posted 2013-11-10 00:09:48.