function _nodehierarchy_parent_option_title in Node Hierarchy 6.3
Same name and namespace in other branches
- 6.2 nodehierarchy.module \_nodehierarchy_parent_option_title()
- 7.4 nodehierarchy.admin.inc \_nodehierarchy_parent_option_title()
- 7.2 nodehierarchy.module \_nodehierarchy_parent_option_title()
Get the title of the given item to display in a pulldown.
1 call to _nodehierarchy_parent_option_title()
- _nodehierarchy_get_parent_selector in ./
nodehierarchy.module - Get the parent selector pulldown.
File
- ./
nodehierarchy.module, line 1806 - A module to make nodes hierarchical.
Code
function _nodehierarchy_parent_option_title($item) {
return str_repeat('--', $item['depth'] - 1) . ' ' . truncate_utf8($item['title'], 60, TRUE, FALSE);
}