Answers

Question and Answer:

  Home  Zend

⟩ Please write down a program to show the execution of the application?

- The execution of the program can be done by using the methods of Decorators.

- Decorators provide the methods like errors, htmltag, labels, etc. to help the developers to use it and execute their applications.

- The program is written like this:

$label->render($htmlTag->render($errors->render($viewHelper->render(''))))

<input name="hello" id="hello" type="text" value="" />

<div class="error"><ul>

<li>...</li>

</ul></div>

<dd>

<input name="hello" id="hello" type="text" value="" />

<div class="error"><ul>

<li>...</li>

</ul></div>

</dd>

 175 views

More Questions for you: