[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

(no description)

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

Defines 19 functions

  page_title_help()
  page_title_perm()
  page_title_menu()
  page_title_theme()
  page_title_node_type()
  page_title_form_alter()
  page_title_node_type_form_submit()
  page_title_nodeapi()
  page_title_taxonomy()
  page_title_user()
  page_title_get_title()
  page_title_load_title()
  page_title_node_get_title()
  page_title_set_title()
  page_title_page_get_title()
  page_title_token_values()
  page_title_token_list()
  page_title_preprocess_page()
  page_title_content_extra_fields()

Functions
Functions that are not part of a class:

page_title_help($path, $arg)   X-Ref
Implementation of hook_help().


page_title_perm()   X-Ref
Implementation of hook_perm().


page_title_menu()   X-Ref
Implementation of hook_menu().


page_title_theme()   X-Ref
Implementation of hook_theme().


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

Updates settings after a node type change.

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


page_title_node_type_form_submit($form, &$form_state)   X-Ref
Submit handler for the node_type_form element added in the hook_form_alter() above.


page_title_nodeapi(&$node, $op, $teaser = NULL, $page = NULL)   X-Ref
Implementation of hook_nodeapi().


page_title_taxonomy($op, $type, $edit)   X-Ref
Implementation of hook_taxonomy().


page_title_user($op, &$edit, &$account)   X-Ref
Implementation of hook_user().


page_title_get_title()   X-Ref
Simple wrapper function to get the currently set title for a page

return:

page_title_load_title($id, $type)   X-Ref
Gets the page title for a type & id.

param: $id
param: $type
return:

page_title_node_get_title($nid)   X-Ref
Wrapper for old function...
NOTE: This has been depricated in favor of page_title_load_title().


page_title_set_title($title = NULL)   X-Ref
Legacy page title setting function...
NOTE: This has been depreicated in favour of hook_page_title_alter().


page_title_page_get_title()   X-Ref
Determines what title should be sent to the page template.

Call this function from the page hook of function _phptemplate_variables in
template.php.

return:

page_title_token_values($type)   X-Ref
Implementation of hook_token_values().

param:
return:

page_title_token_list($type = 'all')   X-Ref
Implementation of hook_token_list().

param:
return:

page_title_preprocess_page(&$vars)   X-Ref
Implementation of hook_preprocess_page().


page_title_content_extra_fields($type_name)   X-Ref
Implementation of hook_content_extra_fields().

This allows CCK to control the weight of the Page Title element as a "non-cck field"



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