function organigrams_get_item_by_name in Organigrams 7
Try to map a string to an existing organigrams item, as for glossary use.
Parameters
string $name: An organigrams item name to search for.
Return value
array An array of matching organigrams item objects.
File
- ./
organigrams.module, line 1480 - Defines the organigrams functions and entity types.
Code
function organigrams_get_item_by_name($name) {
return organigrams_item_load_multiple(FALSE, array(
'name' => trim($name),
));
}