Changeset 468 for trunk/lib/Email.inc.php
- Timestamp:
- Feb 20, 2014 3:03:59 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/eli_branch merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/lib/Email.inc.php
r460 r468 56 56 57 57 // Default parameters, to be overwritten by setParam() and read with getParam() 58 var$_params = array(58 private $_params = array( 59 59 'to' => null, 60 60 'from' => null, … … 74 74 75 75 // String that contains the email body. 76 var$_template;76 private $_template; 77 77 78 78 // String that contains the email body after replacements. 79 var$_template_replaced;79 private $_template_replaced; 80 80 81 81 /** … … 87 87 * @since 28 Nov 2005 12:59:41 88 88 */ 89 function Email($params=null)89 public function __construct($params=null) 90 90 { 91 91 // The regex used in validEmail(). Set here instead of in the default _params above so we can use the concatenation . dot. … … 118 118 * @param array $params Array of parameters (key => val pairs). 119 119 */ 120 function setParam($params)120 public function setParam($params) 121 121 { 122 122 $app =& App::getInstance(); … … 145 145 * @return mixed Configured parameter value. 146 146 */ 147 function getParam($param)147 public function getParam($param) 148 148 { 149 149 $app =& App::getInstance(); … … 165 165 * @since 28 Nov 2005 12:56:23 166 166 */ 167 function setTemplate($template)167 public function setTemplate($template) 168 168 { 169 169 $app =& App::getInstance(); … … 189 189 * @since 28 Nov 2005 12:56:23 190 190 */ 191 function setString($string)191 public function setString($string) 192 192 { 193 193 $app =& App::getInstance(); … … 213 213 * @since 28 Nov 2005 13:08:51 214 214 */ 215 function replace($replacements)215 public function replace($replacements) 216 216 { 217 217 $app =& App::getInstance(); … … 250 250 * @since 28 Nov 2005 12:56:09 251 251 */ 252 function send($to=null, $from=null, $subject=null, $headers=null)252 public function send($to=null, $from=null, $subject=null, $headers=null) 253 253 { 254 254 $app =& App::getInstance(); … … 364 364 * @since 30 Nov 2005 22:00:50 365 365 */ 366 function validEmail($email)366 public function validEmail($email) 367 367 { 368 368 $app =& App::getInstance(); … … 388 388 } 389 389 390 ?>
Note: See TracChangeset
for help on using the changeset viewer.