| 1 |
<?php |
<?php |
| 2 |
// $Id: comment_alter_taxonomy.module,v 1.11.2.1 2009/01/05 02:19:08 damz Exp $ |
// $Id: comment_alter_taxonomy.module,v 1.11.2.2 2009/01/05 21:04:22 damz Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 302 |
* 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 |
| 303 |
* comment. |
* comment. |
| 304 |
* |
* |
| 305 |
* @param $nid |
* @param $node |
| 306 |
* The nid of the node. |
* The node for which to save the term. |
| 307 |
* @param $cid |
* @param $cid |
| 308 |
* 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 |
| 309 |
* node and not an actual comment. |
* node and not an actual comment. |
| 506 |
* NOTE: This function (and any function that overrides it) |
* NOTE: This function (and any function that overrides it) |
| 507 |
* must sanitize the term name to prevent XSS vulnerabilities. |
* must sanitize the term name to prevent XSS vulnerabilities. |
| 508 |
* |
* |
| 509 |
|
* @param $node |
| 510 |
|
* The node for which the taxonomy was altered. |
| 511 |
* @param $term |
* @param $term |
| 512 |
* The taxonomy term object. |
* The taxonomy term object. |
| 513 |
* @return |
* @return |