PHP Class Pimcore\Document\Newsletter\AddressSourceAdapter\ReportAdapter

Inheritance: implements Pimcore\Document\Newsletter\AddressSourceAdapterInterface
Afficher le fichier Open project: pimcore/pimcore

Protected Properties

Свойство Type Description
$elementsTotal integer
$emailAddresses string[]
$emailFieldName string[]
$list Pimcore\Model\Object\Listing
$reportId integer

Méthodes publiques

Méthode Description
__construct ( $params ) IAddressSourceAdapter 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

Méthodes protégées

Méthode Description
getListing ( ) : Listing

Method Details

__construct() public méthode

IAddressSourceAdapter constructor.
public __construct ( $params )
$params

getListing() protected méthode

protected getListing ( ) : Listing
Résultat Pimcore\Model\Object\Listing

getMailAddressesForBatchSending() public méthode

returns array of email addresses for batch sending
public getMailAddressesForBatchSending ( ) : SendingParamContainer[]
Résultat Pimcore\Document\Newsletter\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 Pimcore\Document\Newsletter\SendingParamContainer[]

getParamsForTestSending() public méthode

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

getTotalRecordCount() public méthode

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

Property Details

$elementsTotal protected_oe property

protected int $elementsTotal
Résultat integer

$emailAddresses protected_oe property

protected string[] $emailAddresses
Résultat string[]

$emailFieldName protected_oe property

protected string[] $emailFieldName
Résultat string[]

$list protected_oe property

protected Listing,Pimcore\Model\Object $list
Résultat Pimcore\Model\Object\Listing

$reportId protected_oe property

protected int $reportId
Résultat integer