summaryrefslogtreecommitdiff
path: root/app/frontend/mail/MailTemplate.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/mail/MailTemplate.php')
-rw-r--r--app/frontend/mail/MailTemplate.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/frontend/mail/MailTemplate.php b/app/frontend/mail/MailTemplate.php
index ab5c9a5..c31f38b 100644
--- a/app/frontend/mail/MailTemplate.php
+++ b/app/frontend/mail/MailTemplate.php
@@ -4,6 +4,16 @@ Prado::using('Lib.phptal.PHPTAL');
class MailTemplate extends PHPTAL {
+ private $_immediate = TRUE;
+
+ public function isImmediate() {
+ return $this->_immediate;
+ }
+
+ public function toggleImmediate($value) {
+ $this->_immediate = TPropertyValue::ensureBoolean($value);
+ }
+
}
?>