[TYPO3-core] RFC: #13698: Add proxy for the mail() function

Martin Kutschker masi-no at spam-typo3.org
Tue Apr 13 19:55:58 CEST 2010


Tolleiv.Nietsch schrieb:
> Hi,
> ok 3rd version of the patch. I hope this a) fit's the CGL and b) hits
> the direction we discussed during the day.

I'm no CGL expert when it comes to details, but shouldn't camel case be used in parameter names of
functions...

 public static function mail($to, $subject, $message, $additional_headers = null,
$additional_parameters = null)

... and hook arguments ...

$params = array(
 'to' => $to,
 'subject' => $subject,
 'message' => $message,
 'additional_headers' => $additional_headers,
 'additional_parameters' => $additional_parameters
);

Masi


More information about the TYPO3-team-core mailing list