ProMailerList class

Located in file /site/modules/ProMailer/ProMailerList.php

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ProMailerList class also inherits all the methods and properties of: ProMailerType, WireData and Wire.

Show class?             Show args?        

Common

NameReturnSummary 
ProMailerList::closed bool List closed for new subscribers? only used by regular lists 
ProMailerList::custom array Additional custom data to store with this list in associative array 
ProMailerList::fields array Custom field definitions as ['name' => 'sanitizer'], only used by regular lists 
ProMailerList::fieldsArray()
arrayReturn array of custom field definitions for this list 
ProMailerList::fieldsString()
stringGet newline separated string of custom field definitions for this list 
ProMailerList::getDefaultsArray()
arrayReturn array of default values 
ProMailerList::id int 
ProMailerList::manager ProMailerLists 
ProMailerList::numSubscribers()
intReturn number of subscribers in this list 
ProMailerList::selector string Selector string, only used by pages lists 
ProMailerList::set($key, $value)
WireData ProMailerTypeSet value 
ProMailerList::title string 
ProMailerList::type string Either ProMailer::listTypeRegular or ProMailer::listTypePages  
ProMailerList::unsub_email string Email address for optional list-unsubscribe header 
ProMailerList::unsub_field string Field name that has non-empty value if user is unsubscribed, only used by pages lists 

Additional methods and properties

In addition to the methods and properties above, ProMailerList also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.244

Latest news

  • ProcessWire Weekly #559
    The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 25 January 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull