[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/system/ -> system.module (summary)

(no description)

File Size: 1942 lines (77 kb)
Included or required:0 times
Referenced: 3 times
Includes or requires: 0 files

Defines 56 functions

  system_help()
  system_theme()
  system_perm()
  system_elements()
  system_menu()
  _system_themes_access()
  system_init()
  system_user()
  system_block()
  system_admin_menu_block()
  system_admin_theme_submit()
  system_theme_select_form()
  system_check_directory()
  system_get_files_database()
  system_theme_default()
  system_theme_data()
  _system_theme_data()
  system_find_base_themes()
  system_find_base_theme()
  system_region_list()
  system_default_region()
  system_initialize_theme_blocks()
  system_settings_form()
  system_settings_form_submit()
  _system_sort_requirements()
  system_node_type()
  confirm_form()
  system_admin_compact_mode()
  system_get_module_admin_tasks()
  system_cron()
  system_hook_info()
  system_action_info()
  system_actions_manage()
  system_actions_manage_form()
  system_actions_manage_form_submit()
  system_actions_configure()
  system_actions_configure_validate()
  system_actions_configure_submit()
  system_actions_delete_form()
  system_actions_delete_form_submit()
  system_action_delete_orphans_post()
  system_actions_remove_orphans()
  system_send_email_action_form()
  system_send_email_action_validate()
  system_send_email_action_submit()
  system_send_email_action()
  system_mail()
  system_message_action_form()
  system_message_action_submit()
  system_message_action()
  system_goto_action_form()
  system_goto_action_submit()
  system_goto_action()
  _system_zonelist()
  system_check_http_request()
  theme_system_powered_by()

Functions
Functions that are not part of a class:

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


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


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


system_elements()   X-Ref
Implementation of hook_elements().


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


_system_themes_access($theme)   X-Ref
Menu item access callback - only admin or enabled themes can be accessed.


system_init()   X-Ref
Implementation of hook_init().


system_user($type, $edit, &$user, $category = NULL)   X-Ref
Implementation of hook_user().

Allows users to individually set their theme and time zone.

system_block($op = 'list', $delta = 0, $edit = NULL)   X-Ref
Implementation of hook_block().

Generate a block with a promotional link to Drupal.org.

system_admin_menu_block($item)   X-Ref
Provide a single block on the administration overview page.

param: $item

system_admin_theme_submit($form, &$form_state)   X-Ref
Process admin theme form submissions.


system_theme_select_form($description = '', $default_value = '', $weight = 0)   X-Ref
Returns a fieldset containing the theme select form.

param: $description
param: $default_value
param: $weight
return:

system_check_directory($form_element)   X-Ref
Checks the existence of the directory specified in $form_element. This
function is called from the system_settings form to check both the
file_directory_path and file_directory_temp directories. If validation
fails, the form element is flagged with an error from within the
file_check_directory function.

param: $form_element

system_get_files_database(&$files, $type)   X-Ref
Retrieves the current status of an array of files in the system table.

param: $files
param: $type

system_theme_default()   X-Ref
Prepare defaults for themes.

return:

system_theme_data()   X-Ref
Collect data about all currently available themes.

return:

_system_theme_data()   X-Ref
Helper function to scan and collect theme .info data and their engines.

return:

system_find_base_themes($themes, $key, $used_keys = array()   X-Ref
Find all the base themes for the specified theme.

Themes can inherit templates and function implementations from earlier themes.

param: $themes
param: $key
param: $used_keys
return:

system_find_base_theme($themes, $key, $used_keys = array()   X-Ref
This function has been deprecated in favor of system_find_base_themes().

Recursive function to find the top level base theme. Themes can inherit
templates and function implementations from earlier themes.

param: $themes
param: $key
param: $used_keys
return:

system_region_list($theme_key)   X-Ref
Get a list of available regions from a specified theme.

param: $theme_key
return:

system_default_region($theme)   X-Ref
Get the name of the default region for a given theme.

param: $theme
return:

system_initialize_theme_blocks($theme)   X-Ref
Assign an initial, default set of blocks for a theme.

This function is called the first time a new theme is enabled. The new theme
gets a copy of the default theme's blocks, with the difference that if a
particular region isn't available in the new theme, the block is assigned
to the new theme's default region.

param: $theme

system_settings_form($form)   X-Ref
Add default buttons to a form and set its prefix.

param: $form
return:

system_settings_form_submit($form, &$form_state)   X-Ref
Execute the system_settings_form.

If you want node type configure style handling of your checkboxes,
add an array_filter value to your form.

_system_sort_requirements($a, $b)   X-Ref
Helper function to sort requirements.


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

Updates theme settings after a node type change.

confirm_form($form, $question, $path, $description = NULL, $yes = NULL, $no = NULL, $name = 'confirm')   X-Ref
Generates a form array for a confirmation form.

This function returns a complete form array for confirming an action. The
form contains a confirm button as well as a cancellation link that allows a
user to abort the action.

If the submit handler for a form that implements confirm_form() is invoked,
the user successfully confirmed the action. You should never directly
inspect $_POST to see if an action was confirmed.

Note - if the parameters $question, $description, $yes, or $no could contain
any user input (such as node titles or taxonomy terms), it is the
responsibility of the code calling confirm_form() to sanitize them first with
a function like check_plain() or filter_xss().

param: $form
param: $question
param: $path
param: $description
param: $yes
param: $no
param: $name
return:

system_admin_compact_mode()   X-Ref
Determine if a user is in compact mode.


system_get_module_admin_tasks($module)   X-Ref
Generate a list of tasks offered by a specified module.

param: $module
return:

system_cron()   X-Ref
Implementation of hook_cron().

Remove older rows from flood and batch table. Remove old temporary files.

system_hook_info()   X-Ref
Implementation of hook_hook_info().


system_action_info()   X-Ref
Implementation of hook_action_info().


system_actions_manage()   X-Ref
Menu callback. Display an overview of available and configured actions.


system_actions_manage_form($form_state, $options = array()   X-Ref
Define the form for the actions overview page.

param: $form_state
param: $options
return:

system_actions_manage_form_submit($form, &$form_state)   X-Ref
Process system_actions_manage form submissions.


system_actions_configure($form_state, $action = NULL)   X-Ref
Menu callback. Create the form for configuration of a single action.

We provide the "Description" field. The rest of the form
is provided by the action. We then provide the Save button.
Because we are combining unknown form elements with the action
configuration form, we use actions_ prefix on our elements.

param: $action
return:

system_actions_configure_validate($form, $form_state)   X-Ref
Validate system_actions_configure form submissions.


system_actions_configure_submit($form, &$form_state)   X-Ref
Process system_actions_configure form submissions.


system_actions_delete_form($form_state, $action)   X-Ref
Create the form for confirmation of deleting an action.


system_actions_delete_form_submit($form, &$form_state)   X-Ref
Process system_actions_delete form submissions.

Post-deletion operations for action deletion.

system_action_delete_orphans_post($orphaned)   X-Ref
Post-deletion operations for deleting action orphans.

param: $orphaned

system_actions_remove_orphans()   X-Ref
Remove actions that are in the database but not supported by any enabled module.


system_send_email_action_form($context)   X-Ref
Return a form definition so the Send email action can be configured.

param: $context
return:

system_send_email_action_validate($form, $form_state)   X-Ref
Validate system_send_email_action form submissions.


system_send_email_action_submit($form, $form_state)   X-Ref
Process system_send_email_action form submissions.


system_send_email_action($object, $context)   X-Ref
Implementation of a configurable Drupal action. Sends an email.


system_mail($key, &$message, $params)   X-Ref
Implementation of hook_mail().


system_message_action_form($context)   X-Ref
No description

system_message_action_submit($form, $form_state)   X-Ref
No description

system_message_action(&$object, $context = array()   X-Ref
A configurable Drupal action. Sends a message to the current user's screen.


system_goto_action_form($context)   X-Ref
Implementation of a configurable Drupal action. Redirect user to a URL.


system_goto_action_submit($form, $form_state)   X-Ref
No description

system_goto_action($object, $context)   X-Ref
No description

_system_zonelist()   X-Ref
Generate an array of time zones and their local time&date.


system_check_http_request()   X-Ref
Checks whether the server is capable of issuing HTTP requests.

The function sets the drupal_http_request_fail system variable to TRUE if
drupal_http_request() does not work and then the system status report page
will contain an error.

return:

theme_system_powered_by($image_path)   X-Ref
Format the Powered by Drupal text.




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