Skip to end of metadata
Go to start of metadata

<p>The pages below are written for developers coding the Zend Framework.</p>

<p>Each subpage contains meta-information about Zend Framework components, including architecture and design decisions along with rationales, usage scenarios, and important notes and feedback from the community and Zend dev team.</p>

<p>Whenever making non-trivial changes or bug fixes, a developer should <strong>first</strong> review the notes on the relevant page below.</p>

<h3>Marking Deprecated Functionality</h3>
<p>As components are refactored and updated, we will inevitably need to mark functionality as deprecated. PHP 5.3 introduces the new error level 'E_USER_DEPRECATED' which can be used for this purpose. However, until 5.3 becomes the minimum requirement for Zend Framework, you will need to define this constant yourself. The Zend Framework team recommends using the following strategy to alias it to E_USER_WARNING:</p>

<ac:macro ac:name="code"><ac:default-parameter>php</ac:default-parameter><ac:plain-text-body><![CDATA[
if (!defined('E_USER_DEPRECATED')) {

trigger_error('This is deprecated', E_USER_DEPRECATED);

<h3>Component Notes</h3>
<ac:macro ac:name="children"><ac:parameter ac:name="all">true</ac:parameter></ac:macro>

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.