PHP Class Pimcore\Document\Newsletter\AddressSourceAdapter\CsvList

Inheritance: implements Pimcore\Document\Newsletter\AddressSourceAdapterInterface
Show file Open project: pimcore/pimcore

Protected Properties

Property Type Description
$emailAddresses string[]

Public Methods

Method Description
__construct ( $params ) IAddressSourceAdapter constructor.
getMailAddressesForBatchSending ( ) : SendingParamContainer[] returns array of email addresses for batch sending
getParamsForSingleSending ( $limit, $offset ) : array 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 method

IAddressSourceAdapter constructor.
public __construct ( $params )
$params

getMailAddressesForBatchSending() public method

returns array of email addresses for batch sending
public getMailAddressesForBatchSending ( ) : SendingParamContainer[]
return Pimcore\Document\Newsletter\SendingParamContainer[]

getParamsForSingleSending() public method

returns array of params to be set on mail for single sending
public getParamsForSingleSending ( $limit, $offset ) : array
$limit
$offset
return array

getParamsForTestSending() public method

returns params to be set on mail for test sending
public getParamsForTestSending ( string $emailAddress ) : SendingParamContainer
$emailAddress string
return Pimcore\Document\Newsletter\SendingParamContainer

getTotalRecordCount() public method

returns total number of newsletter recipients
public getTotalRecordCount ( ) : integer
return integer

Property Details

$emailAddresses protected property

protected string[] $emailAddresses
return string[]