[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/book/ -> book.install (summary)

(no description)

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

Defines 5 functions

  book_install()
  book_uninstall()
  _book_install_type_create()
  book_update_6000()
  book_schema()

Functions
Functions that are not part of a class:

book_install()   X-Ref
Implementation of hook_install().


book_uninstall()   X-Ref
Implementation of hook_uninstall().


_book_install_type_create()   X-Ref
No description

book_update_6000()   X-Ref
Drupal 5.x to 6.x update.

This function moves any existing book hierarchy into the new structure used
in the 6.x module.  Rather than storing the hierarchy in the {book} table,
the menu API is used to store the hierarchy in the {menu_links} table and the
{book} table serves to uniquely connect a node to a menu link.

In order to accomplish this, the current hierarchy is processed using a stack.
The stack insures that each parent is processed before any of its children
in the book hierarchy, and is compatible with batched update processing.


book_schema()   X-Ref
Implementation of hook_schema().




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7