Zend Server Question: Download Zend PDF

Tell me what are the basic operations performed by the Decorator?

Tweet Share WhatsApp

Answer:

- Decorator provides the ability to append, prepend, and replace the content that is passed to the method.

- The content that is being initially placed provides the empty string and being processed with the decorator.

The operations that can be performed are shown below:

- Append: this allows the appending of the functions and methods that can be used to build an application.

- Prepend: this allows the content to be placed at the beginning of the file.

- Replace: this operation will allow the replacement of the content from any of the content that is present.

Download Zend PDF Read All 20 Zend Questions
Previous QuestionNext Question
Explain what is being presented by the Decorators?Do you know what are the elements used in customizing the output of using the standard decorators?