\EmailDownloadPage_Controller
Synopsis
class EmailDownloadPage_Controller
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- private static String $email_template = "DownloadToEmailEmail";
- protected Boolean $showDownloadForm = true;
- protected String $feedbackMessage = "";
- protected String $feedbackMessageStyle = "";
- private static integer $min_download_bandwidth = 50;
- // methods
- public void init()
- public Boolean AlreadyRequestedSuccessfully()
- public void ReRequestLink()
- public Varchar ShowDownloadForm()
- public Varchar FeedbackMessage()
- public Varchar FeedbackMessageStyle()
- public Form DownloadForm()
- public void sendmail()
- public void thankyou()
- public void dodownload()
- public void noaccess()
- public void requestrerequest()
- protected void sendFile()
- protected String sessionVarNameForSending()
Hierarchy
Extends
- Page_Controller
Members
private
-
$allowed_actions
standard SS Variable - $email_template
—
String
Template to be used for sending e-mail. - $min_download_bandwidth
protected
Methods
protected
- sendFile() — COPIED CODE!!!!!
- sessionVarNameForSending()
public
- AlreadyRequestedSuccessfully()
- DownloadForm() — show the download form.
- FeedbackMessage() — feedback message for user
- FeedbackMessageStyle() — feedback message for user
- ReRequestLink()
- ShowDownloadForm() — feedback message for user
- dodownload() — Do the download itself.
- init() — Standard SS method
- noaccess() — What happens when the person does not have access.
- requestrerequest() — What happens when the person does not have access.
- sendmail() — Sent the e-mail.
- thankyou() — Do the download itself.