function nodesymlinks_create_item_path in NodeSymlinks 6
Same name and namespace in other branches
- 7 nodesymlinks.inc \nodesymlinks_create_item_path()
Create and returns item path.
Parameters
item $item:
node $node:
Return value
string
3 calls to nodesymlinks_create_item_path()
- nodesymlinks_item_process in ./
nodesymlinks.inc - Load item defaults and process item before is saved
- nodesymlinks_item_save in ./
nodesymlinks.inc - Save item to database, create alias for duplicate menulink if original node has one. Returns TRUE if saving was successfull, else returns FALSE.
- _nodesymlinks_nodeapi_validate in ./
nodesymlinks.inc - Implementation of hook_nodeapi() OP: Insert & Update.
File
- ./
nodesymlinks.inc, line 519
Code
function nodesymlinks_create_item_path(&$item, &$node) {
return 'node/' . $node->nid . '/mid/' . $item['mlid'];
}