Zend Server Question:

Download Job Interview Questions and Answers PDF

Explain what are the default methods provided by decorators?

Zend Interview Question
Zend Interview Question

Answer:

- Decorators are used in the application to provide the functionality and make elements to work.

- The decorators being provided as default are as follows:

- ViewHelper: is a method that allows the viewing of the helper files used.
It allows the replacement of the content that is being provided.

- Errors: provide the error codes and messages that came during the execution of the application. It provides appending of the content.

- HTMLTag: that allows the tags to be written by using the parameters and attributes.
It provides the wrapping up of the content and decreasing the length of the code.

- Labels: are used to provide the informative keywords as it provides prepending of the content that is being provided.

Download Zend Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what are the elements used in customizing the output of using the standard decorators?Please write down a program to show the execution of the application?