|
Squiz Matrix
4.12.2
|
Data Fields | |
| $keywords | |
Data Fields inherited from Page_User_Group_Manager | |
| $bodycopies | |
| $keywords | |
| $errors | |
| $messages | |
Additional Inherited Members | |
Protected Member Functions inherited from Page | |
| _preCreateCheck (Array &$link) | |
| _createAdditional (Array &$link) | |
| _getName ($short_name=FALSE) | |
Definition at line 34 of file bulkmail_subscribe_page.inc.
| __construct | ( | $assetid = 0 | ) |
Constructor
| int | $assetid | the asset id to be loaded |
Definition at line 69 of file bulkmail_subscribe_page.inc.
| _createAdditional | ( | & | $link | ) |
Perform any additional processing required during the creation of this asset
Search pages create a few bodycopy assets when they are created
| array | &$link | information used to create the initial link |
Definition at line 122 of file bulkmail_subscribe_page.inc.
| _getAllowedLinks | ( | ) |
Returns an array of all the permitted link types, the type asset and the cardinality
Definition at line 84 of file bulkmail_subscribe_page.inc.
| _getDefaultBodycopyContents | ( | $code | ) |
Get the default contents for a bodycopy
| string | $code | The code name for the bodycopy |
Definition at line 973 of file bulkmail_subscribe_page.inc.
| addLinkingMessages | ( | $fail_success | ) |
Takes an associative array of assetids and writes relevant error/success messages to $this->[errors|messages] for later formatting
| array | $fail_success | associative array with failed and successful assetids |
Definition at line 728 of file bulkmail_subscribe_page.inc.
| getAvailableLocations | ( | ) |
Gets a list of the valid mailing lists, so that we can check if people are rewriting the GET vars to link themselves elsewhere
Definition at line 193 of file bulkmail_subscribe_page.inc.
| getCurrentSubscriptionsKeywordReplacement | ( | ) |
Returns replacement for the current_subscriptions keyword.
Definition at line 940 of file bulkmail_subscribe_page.inc.
| getExistingBulkmailUserid | ( | $value | ) |
Gets the assetid of the unique Bulkmail_User asset with an email of $value
| string | $value | the email address to look for (unique attribute value) |
Definition at line 170 of file bulkmail_subscribe_page.inc.
| getSubscribeEmailAddressKeywordReplacement | ( | ) |
Returns replacement for the subscribe_email_address keyword.
Definition at line 880 of file bulkmail_subscribe_page.inc.
| getSubscribeUserNameKeywordReplacement | ( | ) |
Returns replacement for the subscribe_email_address keyword.
Definition at line 897 of file bulkmail_subscribe_page.inc.
| getSubscriptionsPickerKeywordReplacement | ( | ) |
Returns replacement for the subscription_picker keyword.
Definition at line 914 of file bulkmail_subscribe_page.inc.
| getUnsubscriptionsPickerKeywordReplacement | ( | ) |
Returns replacement for the subscription_picker keyword.
Definition at line 927 of file bulkmail_subscribe_page.inc.
| & getUnverifiedUsersFolder | ( | ) |
Retrieves the unverified users folder
Definition at line 153 of file bulkmail_subscribe_page.inc.
| processForm | ( | ) |
This is called before the bodycopy contents are printed. It decides which functions to call based on whether the user is logged in or not (or has has clicked on a link in a verification email)
Definition at line 229 of file bulkmail_subscribe_page.inc.
| processMatrixUserForm | ( | ) |
Process a sub/unsubscribe request from logged in user
Definition at line 583 of file bulkmail_subscribe_page.inc.
| processPublicUserForm | ( | ) |
Process a sub/unsubscribe request from a public user (ie, someone that just wants to key in their email address and hit subscribe / unsubscribe), or a logged in user who has specified a different email address
Definition at line 374 of file bulkmail_subscribe_page.inc.
| processVerification | ( | ) |
Process a verification request. This will get called whenever the GET vars indicate that the user has done a click-through from a verification email.
Definition at line 268 of file bulkmail_subscribe_page.inc.
| sendAlreadySubscribedEmail | ( | $to, | |
| $from, | |||
| $subscriptions | |||
| ) |
Send email stating that attempt was made to subscribe them to lists they are already a part of
| string | $to | Recipient email address (either 'user@example.com' or 'User user@example.com') |
| string | $from | Sending email address (formatted as above) |
| array | $subscriptions | Assetids the user wanted to link under |
Definition at line 837 of file bulkmail_subscribe_page.inc.
| sendConfirmationEmail | ( | $to, | |
| $from, | |||
| $subscriptions, | |||
| $unsubscriptions, | |||
| $uniqid | |||
| ) |
Send an email to the user asking them to verify their subscription / unsubscription request
| string | $to | Recipent email address (either 'user@example.com' or 'User user@example.com') |
| string | $from | Sending email address (formatted as above) |
| array | $subscriptions | Assetids the user wanted to link under |
| array | $unsubscriptions | Assetids the user wanted to remove himself from |
| array | $uniqid | Unique identifier (value of the link between user & unverified user folder) |
Definition at line 763 of file bulkmail_subscribe_page.inc.
| $keywords |
Definition at line 37 of file bulkmail_subscribe_page.inc.