PHP Interface Pimcore\Document\Newsletter\AddressSourceAdapterInterface

Afficher le fichier Open project: pimcore/pimcore Interface Usage Examples

Méthodes publiques

Méthode Description
__construct ( $params ) AddressSourceAdapterInterface constructor.
getMailAddressesForBatchSending ( ) : SendingParamContainer[] returns array of email addresses for batch sending
getParamsForSingleSending ( $limit, $offset ) : SendingParamContainer[] returns array of params to be set on mail for single sending
getParamsForTestSending ( string $emailAddress ) : SendingParamContainer returns params to be set on mail for test sending
getTotalRecordCount ( ) : integer returns total number of newsletter recipients

Method Details

__construct() public méthode

AddressSourceAdapterInterface constructor.
public __construct ( $params )
$params

getMailAddressesForBatchSending() public méthode

returns array of email addresses for batch sending
public getMailAddressesForBatchSending ( ) : SendingParamContainer[]
Résultat SendingParamContainer[]

getParamsForSingleSending() public méthode

returns array of params to be set on mail for single sending
public getParamsForSingleSending ( $limit, $offset ) : SendingParamContainer[]
$limit
$offset
Résultat SendingParamContainer[]

getParamsForTestSending() public méthode

returns params to be set on mail for test sending
public getParamsForTestSending ( string $emailAddress ) : SendingParamContainer
$emailAddress string
Résultat SendingParamContainer

getTotalRecordCount() public méthode

returns total number of newsletter recipients
public getTotalRecordCount ( ) : integer
Résultat integer