You are here

Functions in Patterns 7.2

Primary tabs

Namesort descending Location Description Direct uses Strings
patterns_token_values includes/core/token.inc Implements hook_token_values().
patterns_trash_pattern ./patterns.module Form constructor for the Patterns removing form. 1
patterns_trash_pattern_submit ./patterns.module Executes patterns_db_trash_pattern() and display a message.
patterns_uninstall ./patterns.install Implements hook_uninstall().
patterns_unpublish_pattern includes/servers.inc Callback function for route /admin/patterns/publish/ 1
patterns_unpublish_pattern_submit includes/servers.inc Executes patterns_db_unpublish_pattern($pid) and display a message.
patterns_update_7200 ./patterns.install Add uuuid and author field to {patterns} table.
patterns_utils_check_keys includes/utils.inc Powerful tool to validate component input parameters
patterns_utils_generate_info_section includes/utils.inc
patterns_utils_get_phpdoc_version includes/utils.inc Helper function to get PHPDoc @version tag from a file
patterns_utils_get_uuuid includes/utils.inc Generates a Universally Unique IDentifier, version 4. 1
patterns_utils_if_invalid_go_back includes/utils.inc Checks a pattern identifier (numeric or alphanumeric) and if it not valid displays an error message and redirect the user to the specified page. If the pattern is valid, returns it. 10
patterns_utils_init_from_pattern includes/utils.inc Take as input an array representing the pattern code or the pattern as extracted from the database and looks for the specified key. 1
patterns_utils_is_cli includes/utils.inc Returns TRUE if patterns is executed via cli 2
patterns_utils_is_fopenurl_enabled includes/utils.inc Checks if current configuration of php enables open remote files for reading.
patterns_utils_is_macro_enabled includes/utils.inc @file Collectiion of general purpose functions.
patterns_utils_is_module_available includes/utils.inc Helper function to find out whether a module is currently installed
patterns_utils_is_module_enabled includes/utils.inc Helper function to find out whether a module is currently enabled 5
patterns_utils_is_public_page includes/utils.inc Checks whether the current page is the public patterns page 2
patterns_utils_is_public_page_enabled includes/utils.inc Checks whether the public patterns page has been enabled. 1
patterns_utils_key_exists includes/utils.inc Enhanced version of array_key_exists with support for array of keys 1
patterns_utils_toString includes/utils.inc Returns a string representation of a pattern object or array. If an id or the name of the pattern is passed, it tries to load it, and then constructs the name of the pattern. 2
patterns_validate_pattern includes/parser/parser.inc Check if pattern array or content from a file is valid. 3
patterns_validate_service includes/parser/parser.inc Callback of the url patterns/validate. 1
patterns_xmlparser_array_to_xml patterns_xmlparser/patterns_xmlparser.module 1
patterns_xmlparser_dump patterns_xmlparser/patterns_xmlparser.module
patterns_xmlparser_dump_comment patterns_xmlparser/patterns_xmlparser.module
patterns_xmlparser_load patterns_xmlparser/patterns_xmlparser.module Loads an XML pattern file without validating.
patterns_xmlparser_parse patterns_xmlparser/patterns_xmlparser.module Creates a pattern from an XML data source. 1
patterns_xmlparser_patterns_parser patterns_xmlparser/patterns_xmlparser.module
patterns_xmlparser_rearrange_data patterns_xmlparser/patterns_xmlparser.module 2
patterns_yamlparser_dump patterns_yamlparser/patterns_yamlparser.module Converts an array representing a pattern into a YAML string.
patterns_yamlparser_dump_comment patterns_yamlparser/patterns_yamlparser.module
patterns_yamlparser_libraries_info patterns_yamlparser/patterns_yamlparser.module Implements hook_libraries_info().
patterns_yamlparser_load patterns_yamlparser/patterns_yamlparser.module Loads and parses a YAML pattern from file.
patterns_yamlparser_parse patterns_yamlparser/patterns_yamlparser.module Parses a string representing a YAML pattern and return the array representation.
patterns_yamlparser_patterns_parser patterns_yamlparser/patterns_yamlparser.module Implements hook_patterns_parser().
patterns_yamlparser_requirements patterns_yamlparser/patterns_yamlparser.install Implements hook_requirements().
set_role_users patterns_components/components/user.inc Wraps the call to drupal_form_submit() to assign roles. 1
set_theme_properties patterns_components/components/system.inc Wraps the call to drupal_form_submit to set the theme properties. 1
set_user_permissions patterns_components/components/user.inc Wraps the call to drupal_form_submit for 'user_profile_form'. Gathers all the expected values from the form and prepare them for the query. 1
set_user_values patterns_components/components/user.inc Wraps the call to drupal_form_submit for 'user_profile_form'. Gathers all the expected values from the form and prepare them for the query. 1
shortcut_patterns patterns_components/components/shortcut.inc Implements hook_patterns(). 1
shortcut_patterns_build patterns_components/components/shortcut.inc hook_patterns_build()
shortcut_patterns_callbacks patterns_components/components/shortcut.inc hook_patterns_callbacks()
shortcut_patterns_cleanup patterns_components/components/shortcut.inc hook_patterns_cleanup()
shortcut_patterns_export_all_link patterns_components/components/shortcut.inc Returns a set of PATTERNS_CREATE actions with the whole set of links currently stored in the system. 1
shortcut_patterns_export_all_set patterns_components/components/shortcut.inc Returns a set of PATTERNS_CREATE actions with the whole set of shortcuts currently stored in the system. 1
shortcut_patterns_export_all_user_set patterns_components/components/shortcut.inc Returns a set of PATTERNS_MODIFY actions with the whole set of relationships between shortcut set and related user currently stored in the system. 1
shortcut_patterns_params patterns_components/components/shortcut.inc hook_patterns_params()

Pages

Other projects