cache_clear_all |
./mobile_tools_cache.inc |
Expire data from the cache. If called without arguments, expirable
entries will be cleared from the cache_page and cache_block tables. |
|
|
cache_get |
./mobile_tools_cache.inc |
Return data from the persistent cache. Data may be stored as either plain text or as serialized data.
cache_get will automatically return unserialized objects and arrays. |
|
|
cache_rewrite_cid |
./mobile_tools_cache.inc |
Rewriting the cid support the usage of caching with mobile tools when using theme switching
for several device groups |
2 |
|
cache_set |
./mobile_tools_cache.inc |
Store data in the persistent cache. |
|
|
mobile_tools_block |
./mobile_tools.module |
Implementation of hook_block()
Provides the blocks that can be used to show a message to the user to go to the
mobile or desktop version. |
|
|
mobile_tools_block_message |
./mobile_tools.module |
Helper function returning the configurable message for the notification |
1 |
|
mobile_tools_boot |
./mobile_tools.module |
Implementation of hook_boot().
Hook boot is called for both anonymous users and logged in users |
|
|
mobile_tools_configuration_form |
./mobile_tools.admin.inc |
Configuration form for the mobile device detection, redirection and notification |
|
1 |
mobile_tools_configuration_form_validate |
./mobile_tools.admin.inc |
Validation of the system settings form |
|
|
mobile_tools_configuration_options |
./mobile_tools.admin.inc |
Helper function to return the configuration options |
|
|
mobile_tools_content_build_modes |
./mobile_tools.module |
Implementation of hook_content_build_modes |
|
|
mobile_tools_create_mobile_url |
./mobile_tools.module |
Helper function to assist in making a mobile url (m.*) from a given url |
2 |
|
mobile_tools_ctools_plugin_directory |
./mobile_tools.module |
Implementation of hook_ctools_plugin_directory() to let the system know
we implement access plugins. |
|
|
mobile_tools_devicecapability |
./mobile_tools.module |
Implementation of hook_devicecapability()
This default implementation invokes the responsible module |
|
|
mobile_tools_device_groups |
./mobile_tools.module |
Calling the device groups, check first if third party module registered
for doing the device detection |
2 |
|
mobile_tools_device_redirect |
./mobile_tools.module |
Being called in the hook_boot() implementation
This function is in charge of redirection or displaying a notification |
1 |
|
mobile_tools_edit_mobile_role |
./mobile_tools_roles.inc |
Function helping in saving and deleting the mobile roles |
2 |
|
mobile_tools_external_modules_configuration_form |
./mobile_tools.admin.inc |
Configuration of external modules |
|
1 |
mobile_tools_form_alter |
./mobile_tools.module |
Alteration to global setting form |
|
|
mobile_tools_get_device |
./mobile_tools.module |
Get $device object.
Check if the 'device' argument is present or a cookie is set to overwrite the device: |
2 |
|
mobile_tools_get_module_names |
./mobile_tools.admin.inc |
return the human readable name of the modules |
1 |
|
mobile_tools_get_redirect_url |
./mobile_tools.module |
Creation of the redirect url. Special care to create the correct url that will
cause the Global Redirect module not to redirect! |
1 |
|
mobile_tools_goto |
./mobile_tools.module |
copy of drupal_goto, since this is called in hook_boot, while the function is not yet available |
1 |
|
mobile_tools_help |
./mobile_tools.module |
Implementation of hook_help($section). |
|
|
mobile_tools_install |
./mobile_tools.install |
@file
Mobile Tools installation |
|
|
mobile_tools_is_mobile_ctools_access |
plugins/access/is_mobile.inc |
Implementation of specially named hook_ctools_access(). |
|
|
mobile_tools_is_mobile_ctools_access_check |
plugins/access/is_mobile.inc |
Check for access. |
|
1 |
mobile_tools_is_mobile_ctools_access_settings |
plugins/access/is_mobile.inc |
Settings form for the 'by perm' access plugin |
|
1 |
mobile_tools_is_mobile_ctools_acesss_summary |
plugins/access/is_mobile.inc |
Provide a summary description based upon the checked roles. |
|
1 |
mobile_tools_is_mobile_device |
./mobile_tools.module |
Detect the device |
2 |
|
mobile_tools_is_mobile_site |
./mobile_tools.module |
Detection of the site type . the values comes out the configuration form. |
5 |
|
mobile_tools_list_theme_names |
./mobile_tools.admin.inc |
Function returning the available themes |
1 |
|
mobile_tools_menu |
./mobile_tools.module |
Implementation of hook_menu(). |
|
|
mobile_tools_mobile_user_roles |
./mobile_tools_roles.inc |
Helper function to return the mobile user roles |
1 |
|
mobile_tools_nodeapi |
./mobile_tools.module |
Implementation of hook_nodeapi |
|
|
mobile_tools_perm |
./mobile_tools.module |
Implementation of hook_perm(). |
|
|
mobile_tools_prepare_url |
./mobile_tools.module |
This function does some kind of normalisation of the urls when there is no subdomain available in the url
e.g. domain.com becomes www.domain.com . this is because sometimes both www.domain.com and domain.com are the same |
1 |
|
mobile_tools_roles_boot |
./mobile_tools_roles.inc |
Being called in the hook_init() implementation
This function is in charge of changing the user role |
1 |
|
mobile_tools_roles_configuration_form |
./mobile_tools_roles.inc |
Configuration form for configuring the mobile context in the permission system |
|
1 |
mobile_tools_roles_configuration_submit |
./mobile_tools_roles.inc |
Submit handler for the roles configuration form. It organises the mobile context for each user role. |
|
1 |
mobile_tools_roles_info |
./mobile_tools_roles.inc |
Function helping in getting information for each role: |
7 |
|
mobile_tools_roles_overview |
./mobile_tools_roles.inc |
|
1 |
|
mobile_tools_roles_settings_submit |
./mobile_tools_roles.inc |
Submit function for the mobile tools / mobile roles configuration page |
|
1 |
mobile_tools_schema |
./mobile_tools.install |
|
|
|
mobile_tools_site_type_options |
./mobile_tools.admin.inc |
Helper function to return the options for definition of the Drupal usage |
|
|
mobile_tools_switch_theme |
./mobile_tools.module |
Being called in the hook_boot() implementation
This function is in charge of changing to the mobile theme |
1 |
|
mobile_tools_themes_configuration_form |
./mobile_tools.admin.inc |
Configuration form for configuring the mobile context in the theming system |
|
1 |
mobile_tools_uninstall |
./mobile_tools.install |
|
|
|
mobile_tools_user |
./mobile_tools_roles.inc |
Implementation of the user_load function to assure that the right role is being assigned to the user.
This is the same actions as in the hook_init() method |
|
|
mobile_tools_user_roles |
./mobile_tools_roles.inc |
Helper function to return the desktop user roles |
|
|