cvs: pear /Mail/Mail mail.php

From: Date: Sat, 14 Aug 2004 19:14:39 +0000
Subject: cvs: pear /Mail/Mail mail.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-22903@lists.php.net to get a copy of this message
jon Sat Aug 14 15:14:39 2004 EDT Modified files: /pear/Mail/Mail mail.php Log: Change the formal type of the mail driver's $params parameter from 'string' to 'array' for consistency with the other driver implementations. Because the code can handle both strings and arrays, this change does not result a break in backwards compatibility. http://cvs.php.net/diff.php/pear/Mail/Mail/mail.php?r1=1.10&r2=1.11&ty=u Index: pear/Mail/Mail/mail.php diff -u pear/Mail/Mail/mail.php:1.10 pear/Mail/Mail/mail.php:1.11 --- pear/Mail/Mail/mail.php:1.10 Fri Apr 16 11:05:46 2004 +++ pear/Mail/Mail/mail.php Sat Aug 14 15:14:39 2004 @@ -16,12 +16,12 @@ // | Author: Chuck Hagenbuch <chuck@horde.org> | // +----------------------------------------------------------------------+ // -// $Id: mail.php,v 1.10 2004/04/16 15:05:46 chagenbu Exp $ +// $Id: mail.php,v 1.11 2004/08/14 19:14:39 jon Exp $ /** * internal PHP-mail() implementation of the PEAR Mail:: interface. * @package Mail - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ class Mail_mail extends Mail { @@ -37,9 +37,9 @@ * Instantiates a new Mail_mail:: object based on the parameters * passed in. * - * @param string $params Extra arguments for the mail() function. + * @param array $params Extra arguments for the mail() function. */ - function Mail_mail($params = '') + function Mail_mail($params = null) { /* The other mail implementations accept parameters as arrays. * In the interest of being consistent, explode an array into

« previous php.pear.cvs (#22903) next »