[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/views/ -> views.install (summary)

(no description)

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

Defines 19 functions

  views_install()
  views_uninstall()
  views_schema()
  views_schema_6000()
  views_update_6000()
  views_update_6001()
  views_schema_6003()
  views_update_6003()
  views_schema_6004()
  views_update_6004()
  views_schema_6005()
  views_update_6005()
  views_schema_6006()
  views_update_6006()
  views_update_6007()
  views_schema_6008()
  views_update_6008()
  views_schema_6009()
  views_update_6009()

Functions
Functions that are not part of a class:

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


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


views_schema($caller_function = FALSE)   X-Ref
Implementation of hook_schema().

Generate the current version of the database schema from
the sequence of schema update functions. Uses a similar
method to install.inc's drupal_get_schema_versions() to
establish the update sequence.

To change the schema, add a new views_schema_N()
function to match the associated views_update_N()

param: $caller_function

views_schema_6000()   X-Ref
Views 2's initial schema.
Called directly by views_update_6000() for updates from Drupal 5.

Important: Do not edit this schema!

Updates to the views schema must be provided as views_schema_6xxx() functions,
which views_schema() automatically sees and applies. See below for examples.

Please do document updates with comments in this function, however.

views_update_6000()   X-Ref
Update a site to Drupal 6! Contains a bit of special code to detect
if you've been running a beta version or something.


views_update_6001()   X-Ref
Remove '$' symbol in special blocks, as it is invalid for theming.


views_schema_6003()   X-Ref
Add missing unique key.


views_update_6003()   X-Ref
No description

views_schema_6004()   X-Ref
Enlarge the views_object_cache.data column to prevent truncation and JS
errors.


views_update_6004()   X-Ref
No description

views_schema_6005()   X-Ref
Enlarge the base_table column


views_update_6005()   X-Ref
No description

views_schema_6006()   X-Ref
Add the cache_views_data table to support standard caching.


views_update_6006()   X-Ref
No description

views_update_6007()   X-Ref
Add aggregate function to PostgreSQL so GROUP BY can be used to force only
one result to be returned for each item.


views_schema_6008()   X-Ref
Add the primary key to views_display table.


views_update_6008()   X-Ref
Add the primary key to the views_display table.


views_schema_6009()   X-Ref
Enlarge the views_display.display_options field to accomodate a larger set
of configurations (e. g. fields, filters, etc.) on a display.


views_update_6009()   X-Ref
No description



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