Ignore:
Timestamp:
Jan 27, 2013, 9:56:07 PM (11 years ago)
Author:
julien1311
Message:

[piwecard] Some code documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/ws/ws_functions.inc.php

    r20421 r20431  
    1212);
    1313
     14/**
     15 * Function called by Javascript
     16 * @param Array Parameters passed through Javascript
     17 * @param
     18 * @return String the preview of the email
     19 */
    1420function piwecard_ws_previewEmail($params, $service) {
    1521        $format_message = $params['format_message'];
     
    1925}
    2026
     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 */
    2133function previewEmail($format_message, $message) {
    2234        $piwecard = new Piwecard();
     
    4759}
    4860
     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 */
    4966function piwecard_create_style_array($style) {
    5067        $style = str_replace(array("\n", "\t"), array('', ''), $style);
     
    6683}
    6784
     85/**
     86 * Parse the email message
     87 * @param String message to parse
     88 * @return String parsed message
     89 */
    6890function parse($data) {
    6991        global $conf;
Note: See TracChangeset for help on using the changeset viewer.