adspace


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

Answer Posted / Bhupesh Kumar Gautam

Decorators in Zend Framework can perform a variety of operations, but here are some basic ones:nn- Adding functionality: Decorators can add new methods or properties to an object.n- Modifying behavior: Decorators can alter the way an object behaves by intercepting method calls or modifying property values.n- Logging: Decorators can be used to log every method call, error, or other event that occurs on an object.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain filters in zend framework with examples?

280


How to render zf2 view within json response?

410


How you can set module name, controller name, and action name in zend framework?

364


How to call two different views from same action?

363