Recent News

How to create URL in zend framework?

Zend Framework deal with model controller and view. Controller has actions and methods, URL in zend is combination of controller and actions, So to create url in zend framework you have to define specific controller and methods where you have to redirect.
Here is code snippit where you can define URL.

url(‘property’, array(‘action’ => ‘fetchSubCitites’, ‘controller’ => ‘Property’))); ?>
In above code Property is controller and fetechSubCities is action where to redirect.

Leave a Reply

Your email address will not be published. Required fields are marked *