PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail_Queue » Bug #2721

Overriding MailQueue Container

Details

Request #2721Overriding MailQueue Container
Submitted2004-11-09 09:26 UTC
Frommarkus at emedia-solutions-wolf dot de
Assignedquipo
StatusClosed
PackageMail_Queue
PHP Version4.3.9
OSDebian 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;