@@ -139,6 +139,9 @@ discard block |
||
| 139 | 139 | return $output; |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $code |
|
| 144 | + */ |
|
| 142 | 145 | public static function get_xml_messages( $code = null ) { |
| 143 | 146 | if ( is_null( self::$xml_messages ) ) { |
| 144 | 147 | $xml_default_emails = file_get_contents( WP_PLUGIN_DIR . '/' . WPSHOP_PLUGIN_DIR . '/assets/datas/default_emails.xml' ); |
@@ -328,7 +331,11 @@ discard block |
||
| 328 | 331 | |
| 329 | 332 | /** Store a new message |
| 330 | 333 | * |
| 331 | - * @return boolean |
|
| 334 | + * @param string $email |
|
| 335 | + * @param string $title |
|
| 336 | + * @param string $message |
|
| 337 | + * @param integer $model_id |
|
| 338 | + * @return boolean|null |
|
| 332 | 339 | */ |
| 333 | 340 | function add_message( $recipient_id = 0, $email, $title, $message, $model_id, $object, $date = null ) { |
| 334 | 341 | |