In my smarty template..i used for hyperlink like this
{{node id=”performance-contract-add”}}here{{/node}}
How can i write it in zend form?
Regads
kiran
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Zend Forms are used to create HTML forms for example
<input>, <select>& etc.Zend Framework by default uses Views to render HTML. It’s plain PHP & HTML so link in zend framework can be created simply like that.
<a href="performance-contract-add">here</a>placed in .phtml file. You can also make Smarty to work with Zend FrameworkOn other hand you may want to create custom decorators to make such link in Zend Form for example:
You simply need to add
array('HtmlTag', array('tag' => 'a'))where you want in the stack.And third option is to create a View Helper.