Home » Mail » Mail_Queue » Bug #2721
Overriding MailQueue Container
Details
| Request #2721 | Overriding MailQueue Container |
|---|---|
| Submitted | 2004-11-09 09:26 UTC |
| From | markus at emedia-solutions-wolf dot de |
| Assigned | quipo |
| Status | Closed |
| Package | Mail_Queue |
| PHP Version | 4.3.9 |
| OS | Debian Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-11-09 09:26 UTC] markus at emedia-solutions-wolf dot de
Description:
------------
Add a path element to the container_options array for being able to modify the search/include path for the container class and have new implementations of the container not have to exist under the pear package structure.
Reproduce code:
---------------
// In the Mail_Queue constructor add
if ( !isset( $container_options['path'] ) )
{
$container_options['path'] = 'Mail/Queue/Container/';
}
include_once $container_options['path'] . $container_classfile;