| 1 |
<?php |
<?php |
| 2 |
// $Id: comment_alter_taxonomy.module,v 1.13 2009/01/26 18:31:01 damz Exp $ |
// $Id: comment_alter_taxonomy.module,v 1.14 2009/01/26 20:15:33 damz Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 264 |
* saves a record of the terms assigned to a node at the time of a certain |
* saves a record of the terms assigned to a node at the time of a certain |
| 265 |
* comment. |
* comment. |
| 266 |
* |
* |
| 267 |
* @param $nid |
* @param $node |
| 268 |
* The nid of the node. |
* The node for which to save the term. |
| 269 |
* @param $cid |
* @param $cid |
| 270 |
* The cid of the comment. Set this to 0 if this is the original |
* The cid of the comment. Set this to 0 if this is the original |
| 271 |
* node and not an actual comment. |
* node and not an actual comment. |
| 479 |
* NOTE: This function (and any function that overrides it) |
* NOTE: This function (and any function that overrides it) |
| 480 |
* must sanitize the term name to prevent XSS vulnerabilities. |
* must sanitize the term name to prevent XSS vulnerabilities. |
| 481 |
* |
* |
| 482 |
|
* @param $node |
| 483 |
|
* The node for which the taxonomy was altered. |
| 484 |
* @param $term |
* @param $term |
| 485 |
* The taxonomy term object. |
* The taxonomy term object. |
| 486 |
* @return |
* @return |