function nodehierarchy_token_get_fullhierarchytitlepath in Node Hierarchy 6
Same name and namespace in other branches
- 5 nodehierarchy_token.inc \nodehierarchy_token_get_fullhierarchytitlepath()
- 6.3 includes/nodehierarchy_token.inc \nodehierarchy_token_get_fullhierarchytitlepath()
- 6.2 includes/nodehierarchy_token.inc \nodehierarchy_token_get_fullhierarchytitlepath()
2 calls to nodehierarchy_token_get_fullhierarchytitlepath()
- nodehierarchy_token_get_hierarchytitlepath in ./
nodehierarchy_token.inc - nodehierarchy_token_values in ./
nodehierarchy_token.inc - @file token.module integration functions for nodehierarchy.module
File
- ./
nodehierarchy_token.inc, line 67 - token.module integration functions for nodehierarchy.module
Code
function nodehierarchy_token_get_fullhierarchytitlepath($node, $raw = TRUE) {
$title = $raw ? $node->title : check_plain($node->title);
// return the hierarchy path with the converted title
return trim(nodehierarchy_token_get_hierarchytitlepath($node, $raw) . "/" . $title, "/");
}