Base class for the content subscription handlers
/sprout/config/routes.php Highlighted file source
Line 85: $config['content_subscribe/unsub/([0-9]+)/([a-z0-9]+)'] = 'Sprout\\Controllers\\ContentSubscribeController/unsub/$1/$2';
Line 86: $config['content_subscribe/unsub_action/([0-9]+)/([a-z0-9]+)'] = 'Sprout\\Controllers\\ContentSubscribeController/unsubAction/$1/$2';
/sprout/config/routes.php Highlighted file source
Line 85: $config['content_subscribe/unsub/([0-9]+)/([a-z0-9]+)'] = 'Sprout\\Controllers\\ContentSubscribeController/unsub/$1/$2';
Line 86: $config['content_subscribe/unsub_action/([0-9]+)/([a-z0-9]+)'] = 'Sprout\\Controllers\\ContentSubscribeController/unsubAction/$1/$2';
/sprout/Controllers/ContentSubscribeController.php Highlighted file source
Line 36: * Subscribers are emailed regarding new/updated content as various subscription handlers see fit
Line 38: class ContentSubscribeController extends Controller
Line 48: * Unsubscribe a user from a subscription (form)
Line 78: $inst = Sprout::instance($row['handler_class'], 'Sprout\\Helpers\\Subscribe');
Line 91: $view = new View('sprout/content_unsubscribe_form');
Line 97: $page_view->page_title = 'Unsubscribe';
Line 105: * Unsubscribe a user from a subscription (action)
Line 125: if (empty($_POST['unsubscribe'])) {
Line 127: Url::redirect("content_subscribe/unsub/{$id}/{$code}");
Line 138: foreach ($_POST['unsubscribe'] as $id) {
Line 144: Notification::confirm('You have been unsubscribed');
Line 154: Cron::start("Content subscribe");
Line 207: $inst = Sprout::instance($class, 'Sprout\\Helpers\\Subscribe');
Line 265: usort($items, 'Sprout\\Helpers\\ContentSubscribe::tsSort');
Line 275: $view = new View('sprout/email/content_subscribe');
Line 276: $view->unsubscribe_url = Subsites::getAbsRoot($subsite['id']) . "content_subscribe/unsub/{$deets['id']}/{$deets['code']}";
/sprout/Controllers/ContentSubscribeController.php Highlighted file source
Line 36: * Subscribers are emailed regarding new/updated content as various subscription handlers see fit
Line 38: class ContentSubscribeController extends Controller
Line 48: * Unsubscribe a user from a subscription (form)
Line 78: $inst = Sprout::instance($row['handler_class'], 'Sprout\\Helpers\\Subscribe');
Line 91: $view = new View('sprout/content_unsubscribe_form');
Line 97: $page_view->page_title = 'Unsubscribe';
Line 105: * Unsubscribe a user from a subscription (action)
Line 125: if (empty($_POST['unsubscribe'])) {
Line 127: Url::redirect("content_subscribe/unsub/{$id}/{$code}");
Line 138: foreach ($_POST['unsubscribe'] as $id) {
Line 144: Notification::confirm('You have been unsubscribed');
Line 154: Cron::start("Content subscribe");
Line 207: $inst = Sprout::instance($class, 'Sprout\\Helpers\\Subscribe');
Line 265: usort($items, 'Sprout\\Helpers\\ContentSubscribe::tsSort');
Line 275: $view = new View('sprout/email/content_subscribe');
Line 276: $view->unsubscribe_url = Subsites::getAbsRoot($subsite['id']) . "content_subscribe/unsub/{$deets['id']}/{$deets['code']}";
A total of 46 lines in 10 files were found