The following topics are discussed in this article: Every function has a prototype property and it contains an object, Adding properties to the prototype object, Using the properties added to the prototype, The difference between own properties and properties of the prototype, __proto__, the secret link every object keeps to its prototype, Methods such as isPrototypeOf(), hasOwnProperty(), and propertyIsEnumerable()
Handling errors in Zend Framework
In Zend Framework based applications, error handling is typically done using the error controller, but there are different ways to send the execution to it – some better than others. Let’s look at some ways to trigger the error controller and how to have it handle different error conditions.
- Page 2 of 2
- 1
- 2