Changeset 439 for branches/eli_branch/lib/Email.inc.php
- Timestamp:
- Nov 30, 2013 7:30:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eli_branch/lib/Email.inc.php
r438 r439 55 55 56 56 // Default parameters, to be overwritten by setParam() and read with getParam() 57 var$_params = array(57 private $_params = array( 58 58 'to' => null, 59 59 'from' => null, … … 73 73 74 74 // String that contains the email body. 75 var$_template;75 private $_template; 76 76 77 77 // String that contains the email body after replacements. 78 var$_template_replaced;78 private $_template_replaced; 79 79 80 80 /** … … 86 86 * @since 28 Nov 2005 12:59:41 87 87 */ 88 function Email($params=null)88 public function __construct($params=null) 89 89 { 90 90 // The regex used in validEmail(). Set here instead of in the default _params above so we can use the concatenation . dot. … … 117 117 * @param array $params Array of parameters (key => val pairs). 118 118 */ 119 function setParam($params)119 public function setParam($params) 120 120 { 121 121 $app =& App::getInstance(); … … 144 144 * @return mixed Configured parameter value. 145 145 */ 146 function getParam($param)146 public function getParam($param) 147 147 { 148 148 $app =& App::getInstance(); … … 164 164 * @since 28 Nov 2005 12:56:23 165 165 */ 166 function setTemplate($template)166 public function setTemplate($template) 167 167 { 168 168 $app =& App::getInstance(); … … 188 188 * @since 28 Nov 2005 12:56:23 189 189 */ 190 function setString($string)190 public function setString($string) 191 191 { 192 192 $app =& App::getInstance(); … … 212 212 * @since 28 Nov 2005 13:08:51 213 213 */ 214 function replace($replacements)214 public function replace($replacements) 215 215 { 216 216 $app =& App::getInstance(); … … 249 249 * @since 28 Nov 2005 12:56:09 250 250 */ 251 function send($to=null, $from=null, $subject=null, $headers=null)251 public function send($to=null, $from=null, $subject=null, $headers=null) 252 252 { 253 253 $app =& App::getInstance(); … … 363 363 * @since 30 Nov 2005 22:00:50 364 364 */ 365 function validEmail($email)365 public function validEmail($email) 366 366 { 367 367 $app =& App::getInstance();
Note: See TracChangeset
for help on using the changeset viewer.