PHP Class Horde_Release_MailingList, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Mike Hardy
Author: Jan Schneider ([email protected])
Author: Gunnar Wrobel ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $component, string $name, string $branch, string $from, string $list, string $version, boolean $security ) Constructor.
append ( string $text ) : null Append text to the message body.
getBody ( ) : string Return the complete message body.
getHeaders ( ) : array Retrieve the message headers for the announcement mail.
getMail ( ) : Horde_Mime_Mail Return the Horde_Mime_Mail message.

Private Methods

Méthode Description
_isLatest ( ) : boolean Check if this is a final release.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $component, string $name, string $branch, string $from, string $list, string $version, boolean $security )
$component string The component name.
$name string The component release name.
$branch string The component branch (H3, H4, ...).
$from string The mail address of the person sending the announcement.
$list string The mailing list the announcement should be sent to.
$version string The version to be released.
$security boolean Whether it's a security release.

append() public méthode

Append text to the message body.
public append ( string $text ) : null
$text string The text to be appended.
Résultat null

getBody() public méthode

Return the complete message body.
public getBody ( ) : string
Résultat string The message body.

getHeaders() public méthode

Retrieve the message headers for the announcement mail.
public getHeaders ( ) : array
Résultat array A set of message headers.

getMail() public méthode

Return the Horde_Mime_Mail message.
public getMail ( ) : Horde_Mime_Mail
Résultat Horde_Mime_Mail The message.