PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Creating your own message class

Zend_Queue will also accept your own message class. Our variables start with an underscore. For example:

<?php
class Zend_Queue_Message
{
    protected 
$_data = array();
}

You can extend the existing messaging class. See the example code in tests/Zend/Queue/Custom/Message.php.

Zend Framework