[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/auto_nodetitle/ -> auto_nodetitle.module (summary)

(no description)

File Size: 247 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 functions

  auto_nodetitle_perm()
  auto_nodetitle_form_alter()
  auto_nodetitle_node_form_submit()
  auto_nodetitle_nodeapi()
  auto_nodetitle_is_needed()
  auto_nodetitle_set_title()
  auto_nodetitle_node_operations()
  auto_nodetitle_operations_update()
  _auto_nodetitle_patternprocessor()
  auto_nodetitle_node_settings_form()
  auto_nodetitle_get_setting()
  auto_nodetitle_eval()
  auto_nodetitle_node_type()

Functions
Functions that are not part of a class:

auto_nodetitle_perm()   X-Ref
Implementation of hook_perm()


auto_nodetitle_form_alter(&$form, $form_state, $form_id)   X-Ref
Implementation of hook_form_alter().


auto_nodetitle_node_form_submit($form, &$form_state)   X-Ref
Makes sure the node preview is shown right.
It gets the node object, modifies the title, and updates the node in the form_state.


auto_nodetitle_nodeapi(&$node, $op)   X-Ref
Implementation of hook_nodeapi().


auto_nodetitle_is_needed($node)   X-Ref
Returns whether the auto nodetitle has to be set.


auto_nodetitle_set_title(&$node)   X-Ref
Sets the automatically generated nodetitle for the node


auto_nodetitle_node_operations()   X-Ref
Implementation of hook_node_operations().


auto_nodetitle_operations_update($nodes)   X-Ref
Callback function for updating node titles.


_auto_nodetitle_patternprocessor($output, $node)   X-Ref
Helper function to generate the title according to the PHP code.
Right now its only a wrapper, but if this is to be expanded, here is the place to be.

return: a title string

auto_nodetitle_node_settings_form(&$form)   X-Ref
Helper function for hook_form_alter() renders the settings per node-type.


auto_nodetitle_get_setting($type)   X-Ref
Gets the auto node title setting associated with the given content type.


auto_nodetitle_eval($code, $node)   X-Ref
Evaluates php code and passes $node to it


auto_nodetitle_node_type($op, $info)   X-Ref
Implementation of hook_node_type().




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7