Changeset 20431 for extensions/Piwecard/ws/ws_functions.inc.php
- Timestamp:
- Jan 27, 2013, 9:56:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/ws/ws_functions.inc.php
r20421 r20431 12 12 ); 13 13 14 /** 15 * Function called by Javascript 16 * @param Array Parameters passed through Javascript 17 * @param 18 * @return String the preview of the email 19 */ 14 20 function piwecard_ws_previewEmail($params, $service) { 15 21 $format_message = $params['format_message']; … … 19 25 } 20 26 27 /** 28 * Construct the preview of the email 29 * @param String Email format (text or html) 30 * @param String the email message 31 * @return String the preview of the email 32 */ 21 33 function previewEmail($format_message, $message) { 22 34 $piwecard = new Piwecard(); … … 47 59 } 48 60 61 /** 62 * Get style from the email template 63 * @param String The value of the node "Style" 64 * @return Array the styles of the email 65 */ 49 66 function piwecard_create_style_array($style) { 50 67 $style = str_replace(array("\n", "\t"), array('', ''), $style); … … 66 83 } 67 84 85 /** 86 * Parse the email message 87 * @param String message to parse 88 * @return String parsed message 89 */ 68 90 function parse($data) { 69 91 global $conf;
Note: See TracChangeset
for help on using the changeset viewer.