function jquerymobile_schema in jQuery Mobile module 7.2
Implements hook_schema().
File
- ./
jquerymobile.install, line 60 - The install and uninstall functions for jquerymobile.
Code
function jquerymobile_schema() {
$schema['jquerymobile'] = array(
'description' => 'The base table for jquerymobile.',
'fields' => array(
'jqmid' => array(
'description' => 'The primary identifier for theme\'s settings.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'theme' => array(
'description' => 'The theme belonging to these settings.',
'type' => 'varchar',
'length' => 255,
'default' => '',
),
'status' => array(
'description' => '',
'type' => 'int',
'default' => 0,
),
'front' => array(
'description' => '',
'type' => 'int',
'default' => 0,
),
'custom_themes' => array(
'description' => '',
'type' => 'blob',
),
'ns' => array(
'description' => '',
'type' => 'varchar',
'length' => 255,
'default' => '',
),
'autoInitializePage' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 1,
),
'subPageUrlKey' => array(
'description' => '',
'type' => 'varchar',
'length' => 128,
'default' => 'ui-page',
),
'activePageClass' => array(
'description' => '',
'type' => 'varchar',
'length' => 128,
'default' => 'ui-page-active',
),
'activeBtnClass' => array(
'description' => '',
'type' => 'varchar',
'length' => 128,
'default' => 'ui-btn-active',
),
'ajaxEnabled' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 1,
),
'hashListeningEnabled' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 1,
),
'linkBindingEnabled' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 1,
),
'pushStateEnabled' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 1,
),
'defaultPageTransition' => array(
'description' => '',
'type' => 'varchar',
'length' => 128,
'default' => 'slide',
),
'touchOverflowEnabled' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 0,
),
'defaultDialogTransition' => array(
'description' => '',
'type' => 'varchar',
'length' => 255,
'default' => 'pop',
),
'minScrollBack' => array(
'description' => '',
'type' => 'int',
'size' => 'small',
'default' => 150,
),
'loadingMessage' => array(
'description' => '',
'type' => 'varchar',
'length' => 255,
'default' => 'Loading',
),
'pageLoadErrorMessage' => array(
'description' => '',
'type' => 'varchar',
'length' => 255,
'default' => 'Error Loading Page',
),
),
'primary key' => array(
'jqmid',
),
);
return $schema;
}