nodefamily.module

Version 1.19.2.13 (checked in on 2007/04/29 at 14:12:58 by fago)

Functions

NameDescription
nodefamily_admin
nodefamily_admin_pageMenu callback; provide the means to add and remove relations between content types.
nodefamily_admin_submit
nodefamily_admin_validate
nodefamily_check_cycleDetermine if adding the relation between parent and child would result in a cycle.
nodefamily_content_type_get_maxGet the maximum number of nodes of a content type per user (population).
nodefamily_content_type_is_maxReturn, if the maximum population is already reached.
nodefamily_content_type_set_maxSet the maximum number of nodes of a content type per user (population).
nodefamily_ct_get_relationsGet all relations between content types.
nodefamily_ct_relation_addAdd a relation between content types.
nodefamily_ct_relation_overviewDisplay the existing content type relations in a table.
nodefamily_ct_relation_removeRemove a relation between content types.
nodefamily_ct_relation_remove_allRemove all relations that involve the given content type.
nodefamily_form_alterImplementation of hook_form_alter().
nodefamily_get_ancestor_typesReturn an array of all ancestor content types for the given content type.
nodefamily_get_child_typesReturn an array of all child content types for the given parent content type.
nodefamily_get_descendant_typesReturn an array of all descendant content types for the given content type.
nodefamily_get_parent_typesReturn an array of all parent content types for the given child content type.
nodefamily_lonely_node_page
nodefamily_lonely_node_page_argsProvide a unique URL for adding/editing nodes of types with a maximum population of one.
nodefamily_menuImplementation of hook_menu().
nodefamily_nodeapiImplementation of hook_nodeapi().
nodefamily_node_settings_validate
nodefamily_node_typeImplementation of hook_node_type(): If a content type changes, rename or delete the concerned relations and the maximum population variable.
nodefamily_pageroute_infoImplementation of hook_pageroute_info().
nodefamily_page_manage_lonely_ui
nodefamily_page_view_lonely_help
nodefamily_relation_add
nodefamily_relation_add_by_type
nodefamily_relation_loadLoad all children for a node. The children's nodes will be loaded into the array $node->children.
nodefamily_relation_load_all_nidsLoad all children's nids for a node. This function doesn't obey node_access for the current user, it just loads all children. The children's node-ids will be loaded into the array $node->children.
nodefamily_relation_load_by_typeLoad all children for a node, sorted by content type. The children's nodes will be loaded into the array $node->children which contains an array of children for each content type.
nodefamily_relation_load_parentsLoad all parents for a node. The parent nodes will be loaded into the array $node->parents.
nodefamily_relation_load_siblingsLoad all siblings for a node. The sibling nodes will be loaded into the array $node->siblings and grouped by their parent.
nodefamily_relation_remove
nodefamily_relation_remove_by_type
nodefamily_relation_remove_children
nodefamily_relation_remove_parents
nodefamily_relatives_set_childSet the node-node relation for all child nodes with the type $child_typename and the author uid $uid.
nodefamily_relatives_set_parentSet the node-node relation for all parent nodes with the type $parent_typename and the author uid $uid.
nodefamily_views_arguments
nodefamily_views_filter
nodefamily_views_fusionImplementation of hook_views_fusion().
nodefamily_views_handler_arg_child_nid
nodefamily_views_handler_arg_grand_child_nid
nodefamily_views_handler_arg_grand_parent_nid
nodefamily_views_handler_arg_parent_nid
nodefamily_views_tables
theme_nodefamily_lonely_node_view_empty
_nodefamily_content_type_del_max
_nodefamily_relation_overview_dive

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.