| 1 |
<?php |
<?php |
| 2 |
//$Id: attached_node.module,v 1.1 2004/10/13 12:48:34 javanaut Exp $ |
//$Id: attached_node.module,v 1.6.2.3 2004/10/24 21:13:44 javanaut Exp $ |
| 3 |
/* |
/* |
| 4 |
This file is attached_node module - It allows users to |
This file is attached_node module - It allows users to |
| 5 |
attach a node to another node. |
attach a node to another node. |
| 182 |
} |
} |
| 183 |
|
|
| 184 |
/** |
/** |
| 185 |
|
* Clears the filter cache when any node is updated |
| 186 |
|
*/ |
| 187 |
|
function attached_node_nodeapi(&$node, $op) { |
| 188 |
|
if($op == "update") { |
| 189 |
|
// since this is a node-specific filter, clear the cache when nodes are updated |
| 190 |
|
cache_clear_all('filter', true); |
| 191 |
|
} |
| 192 |
|
} |
| 193 |
|
|
| 194 |
|
/** |
| 195 |
* Generates help text for this module |
* Generates help text for this module |
| 196 |
*/ |
*/ |
| 197 |
function attached_node_help($section = "admin/help#attached_node") { |
function attached_node_help($section = "admin/help#attached_node") { |