Get all lists in an array
Usage
// basic usage
$proMailerList = $proMailerLists->getAll();
// usage with all arguments
$proMailerList = $proMailerLists->getAll(int $listId = 0);
Arguments
Name | Type(s) | Description |
---|---|---|
listId (optional) | int | Optionally limit to this listId |
Return value
ProMailerList
[] array of ProMailerList objects indexed by list ID
ProMailerLists methods and properties
API reference based on ProcessWire core version 3.0.236