PHP Класс Pommo_Type, poMMo

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
field ( ) Field: A SubscriberField ==SQL Schema== field_id (int) Database ID/Key field_active ('on','off') If field is displayed on subscriber form field_ordering (int) Order in which field is displayed @ subscriber form field_name (str) Descriptive name for field (used for short identification) field_prompt (str) Prompt assosiated with field on subscriber form field_normally (str) Default value of field on subscriber form field_array (str) A serialized array of the field such as the options of multiple choice fields (drop down select) field_required ('on','off') If field is required for subscription field_type (enum) checkbox, multiple, text, date, number
group ( ) Group: A Group of Subscribers ==SQL Schema== group_id (int) Database ID/Key group_name (str) Descriptive name for field (used for short identification)
mailing ( ) Mailing: A poMMo Mailing ==SQL Schema== mailing_id (int) Database ID/Key fromname (str) Header: FROM name<> fromemail (str) Header: FROM fromebounce (str) Header: RETURN_PATH subject (str) Header: SUBJECT body (str) Message Body altbody (str) Alternative Text Body ishtml (enum) 'on','off' toggle of HTML mailing mailgroup (str) Name of poMMo group mailed subscriberCount (int) Number of subscribers in group started (datetime) Time mailing started finished (datetime) Time mailing ended sent (int) Number of mails sent charset (str) Encoding of Message status (bool) 0: finished, 1: processing, 2: cancelled
mailingCurrent ( )
pending ( )
subscriber ( ) Subscriber: A Subscriber ==SQL Schema== id (int) Database ID/Key email (str) Email Address time_touched (date) Date last modified (records changed) time_registered (date) Date registered (signed up) flag (enum) 0: NULL, 1-8: REMOVE, 9: UPDATE ip (str) IP (tcp/ip) used to register - stored as INT via INET_ATON() status (enum) 0: Inactive, 1: Active, 2: Pending
subscriberPending ( )
template ( ) Template: A Template for Mailings ==SQL Schema== template_id (int) Database ID/Key name (str) Descriptive name for field (used for short identification) description (str) Summary of Template body (str) HTML body altbody (str) Text body

Описание методов

field() статический публичный Метод

Field: A SubscriberField ==SQL Schema== field_id (int) Database ID/Key field_active ('on','off') If field is displayed on subscriber form field_ordering (int) Order in which field is displayed @ subscriber form field_name (str) Descriptive name for field (used for short identification) field_prompt (str) Prompt assosiated with field on subscriber form field_normally (str) Default value of field on subscriber form field_array (str) A serialized array of the field such as the options of multiple choice fields (drop down select) field_required ('on','off') If field is required for subscription field_type (enum) checkbox, multiple, text, date, number
static public field ( )

group() статический публичный Метод

==Additional Columns from group_rules== rule_id (int) Database ID/Key group_id (int) Correlating Group ID field_id (int) Correlating Field ID logic (enum) 'is','not','greater','less','true','false','is_in','not_in' value (str) Match Value
static public group ( )

mailing() публичный статический Метод

==Additional Columns for Current Mailing== current_id (int) ID of current mailing (from mailing_id) command (enum) 'none' (default), 'restart', 'stop' serial (int) Serial of this mailing securityCode (char[32]) Security Code of Mailing notices (str) Mailing Messages current_status (enum) 'started', 'stopped' (default)
public static mailing ( )

mailingCurrent() публичный статический Метод

public static mailingCurrent ( )

pending() публичный статический Метод

public static pending ( )

subscriber() публичный статический Метод

== Additional columns for Pending == pending_id (int) Database ID/Key subscriber_id (int) Subscriber ID in subscribers table pending_code (str) Code to complete pending request pending_type (enum) 'add','del','change','password',NULL (def: null) pending_array (str) Serialized Subscriber object (for update) == Additional Data Columns == data_id (int) Database ID/Key field_id (int) Field ID in fields table subscriber_id (int) Subscriber ID in subscribers table value (str) Subscriber's field value
public static subscriber ( )

subscriberPending() публичный Метод

public subscriberPending ( )

template() публичный Метод

Template: A Template for Mailings ==SQL Schema== template_id (int) Database ID/Key name (str) Descriptive name for field (used for short identification) description (str) Summary of Template body (str) HTML body altbody (str) Text body
public template ( )