1.97 (checked in on 2008/04/27 at 18:47:05 by agentken)
Core module file for the MySite module.
@ingroup mysite
| Name | Description |
|---|---|
| mysite_activate | Allows the admin to activate a type plugin |
| mysite_add_link | Format a link to add content to a MySite page. |
| mysite_add_page | Adds a new page to the user collection and takes them to the settings form for that page. |
| mysite_ajax_sort | Process a drag-and-drop sort from jQuery |
| mysite_autocomplete | Allows registration of autocomplete functions through the include files. Since AJAX autocomplete requires a menu callback, and the include files do not have menu functions, we filter all AJAX requests through a single function. |
| mysite_block | Implementation of hook_block(). Calls mysite_type_hook_block(). |
| mysite_block_handler | Data handling for block placement. This function is part of the API. |
| mysite_check | Check to see if a MySite type is already in the user's settings |
| mysite_check_settings | Display a message to the site administrator if the content type is inactive. |
| mysite_configure | Menu callback; presents general configuration options. |
| mysite_configure_form | FormsAPI for mysite_configure(). |
| mysite_confirm_delete_form | FormsAPI to confirm deletion of an item |
| mysite_confirm_delete_form_submit | Form submit for mysite_confirm_delete_form() |
| mysite_content | Page for adding content to a MySite page. |
| mysite_content_add | Menu callback to add a content item |
| mysite_content_form | Form for mysite_content() |
| mysite_content_menu | Create a list of submenu items for the Add / Delete Content page. |
| mysite_content_promote | Menu callback to promote or demote an item |
| mysite_content_remove | Menu callback to delete a content item. |
| mysite_content_settings | Generates a user settings page for individual mysite content items. |
| mysite_content_settings_form | FormsAPI for mysite_content_settings() |
| mysite_content_settings_form_submit | Form submit for mysite_content_settings() |
| mysite_content_settings_form_validate | Form validation for mysite_content_settings() |
| mysite_create_account | Create a MySite record for a new user without submitting a form. |
| mysite_create_page | Creates an entry in {mysite_page} for the current user. |
| mysite_cron | Cron hook for cleaning out bad data We use this routine to remove MySite references to deleted content containers. |
| mysite_delete_form | FormsAPI for deleting a user's entire collection. |
| mysite_delete_form_submit | FormsAPI for mysite_delete_form() |
| mysite_delete_item | Delete an item from a form call or a url |
| mysite_demote_link | Format a link to remove content from a MySite page. |
| mysite_display | Display a MySite content element outside of the MySite page |
| mysite_domainwarnings | Implements hook_domainwarnings |
| mysite_edit | Edit a MySite page using a multi-stage form. |
| mysite_edit_form | Form function for mysite_edit(). |
| mysite_edit_form_submit | Form submit for mysite_edit_form(). Implementation of the Forms API. |
| mysite_edit_menu | Create a list of submenu items for the user's Settings page. |
| mysite_enable | Installer function that sets MySite pages to show on all domains. |
| mysite_find_empty_page | |
| mysite_get | Get the data for a user MySite page from the {mysite} table. |
| mysite_get_content_element | Given values, generate a table that behaves like a form so that users my add content to their MySite page. |
| mysite_get_custom | Get the data for a custom content type from the {mysite_content} table. |
| mysite_get_icon | Lookup icons for display to the end user. This function requires that the MySite Icons module is enabled. |
| mysite_get_includes | Return the valid include files for a given include type. This function is used to check which files to load when mysite_load_includes() is called. It checks to see that the include files are actually located inside the appropriate... |
| mysite_get_layout | Get the data associated with a layout file |
| mysite_get_mask | Get file extension masks for each type. |
| mysite_get_myid | Retrieve or create a MySite id for string-based keys. This function is used to create entries in the {mysite_content} table which is designed to handle non-numeric keys. This lets us keep all the keys in the {mysite_data} table as integers. |
| mysite_get_pages | Return an array of all pages in a user collection. |
| mysite_help | Implementation of hook_help(). |
| mysite_item_page | Get the page for a mysite item. |
| mysite_link | Implementation of hook_link() |
| mysite_load | Loads the associated files for a personal page view (stylesheets, MySite includes). |
| mysite_load_includes | Load the desired includes for this action. This function is a conditional load of enabled MySite plugins. In the case of administration pages, all includes are always loaded. |
| mysite_load_page | Return data for a single page from a user collection. |
| mysite_menu | Implementation of hook_menu(). |
| mysite_menu_check | Mullt-access control check, used in place of user_access() for some menu items. |
| mysite_message | Display a MySite message to a user. These are mainly used when items are deleted by mysite_cron(). |
| mysite_output | Return the proper content based on the request. |
| mysite_page | The default MySite page view. |
| mysite_perm | Implementation of hook_perm(). |
| mysite_plugin_failure | Error handling if a plugin is missing. This is a bare bones user error message. |
| mysite_prepare_columns | Prepare the output into the proper column for the layout. |
| mysite_promote_link | Format a link to remove content from a MySite page |
| mysite_remove_link | Format a link to remove content from a MySite page, |
| mysite_remove_page | Remove a single page from a user collection. |
| mysite_remove_page_form | FormsAPI to confirm page deletion |
| mysite_remove_page_form_submit | FormsAPI for page removal. |
| mysite_render | Allows a MySite element to be used by an external application or menu callback |
| mysite_reset_form | FormsAPI for resetting a user's page to the default settings and content. |
| mysite_reset_form_submit | FormsAPI for mysite_reset_form() |
| mysite_search_handler | Data handling for search-based submissions This function is part of the API, and allows the type includes to hand content searches to a single handler. |
| mysite_settings_link | Format a link to edit item configuration from a MySite page |
| mysite_sitename | Return the sitename in the format 'My sitename' |
| mysite_sort_options | Helper functions to sort options array by category and weight. |
| mysite_teaser | Generate a fully-themed teaser element for MySite content items. |
| mysite_type_settings | Menu callback; presents forms with configuration options for each content type. |
| mysite_type_settings_form | Admin settings form for each content type. Presents configuration options for visible settings. |
| mysite_type_settings_form_submit | FormsAPI for mysite_type_settings_form(). |
| mysite_updated | Register an update in the mysite table on add/delete. |
| mysite_user | Implementation of hook_user(). |
| mysite_usort_options | Helper for mysite_sort_actions() |
| mysite_view | Take user to the correct MySite page, based on mysite_configure(). |
| mysite_views_query_substitutions | MySite Views support Code by mariano.barcia http://drupal.org/node/198904 Allow replacement of current group so we can cache these queries. |
| mysite_view_all | View all active MySite users |
| mysite_view_default | Show the default user page |
| theme_mysite_actions | Theme for action buttons (promote, demote, remove) |
| theme_mysite_anonymous_help | A placeholder theme for MySite help for not logged in users |
| theme_mysite_block_help | A placeholder theme for MySite block help |
| theme_mysite_configure_form | Theme the MySite configuration form |
| theme_mysite_content_help | A placeholder theme for MySite content help |
| theme_mysite_content_settings_form | Theme the element configuration form |
| theme_mysite_create_help | A placeholder theme for MySite creation help. It is recommended that you use Drupal's theme override system to customize this function for your site. This function will also load the default MySite content that has been defined by the administrator. |
| theme_mysite_droplet | Theme a droplet for MySite. Allows for formatting droplets via css. |
| theme_mysite_edit_format | Theme the format selection form |
| theme_mysite_edit_layout | Theme the layout selection form |
| theme_mysite_edit_style | Theme the style selection form |
| theme_mysite_edit_theme | Theme the theme selection form |
| theme_mysite_empty_column | Theme a message when a layout column is empty |
| theme_mysite_links | Theme hook_links() as a widget |
| theme_mysite_no_options | Theme a message when a null content set is returned |
| theme_mysite_pager | Return a custom page for browsing content. Using a custom function because not all content groups are query-based. |
| theme_mysite_submenu | Theme function for submenus on the Add Content screen |
| theme_mysite_teaser | Theme a node teaser for MySite This use of this function can be edited for specific node types using the mysite_teaser() function. Placing this inside a theme function also allows for theme overrides. |