Skip to content
Snippets Groups Projects
Commit f09e3c2c authored by Sean Madsen's avatar Sean Madsen
Browse files

hooks - updating URLs which pointed to wiki. Close #88

parent 60b470e3
No related branches found
No related tags found
No related merge requests found
...@@ -14,9 +14,9 @@ Added in CiviCRM 4.7.11. ...@@ -14,9 +14,9 @@ Added in CiviCRM 4.7.11.
!!! note "Comparison of Related Hooks" !!! note "Comparison of Related Hooks"
This is one of three related hooks. The hooks: This is one of three related hooks. The hooks:
- [hook_civicrm_navigationMenu](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu) manipulates the navigation bar at the top of every screen - [hook_civicrm_navigationMenu](/hooks/hook_civicrm_navigationMenu) manipulates the navigation bar at the top of every screen
- [hook_civicrm_alterMenu](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterMenu) manipulates the list of HTTP routes (using PHP arrays) - [hook_civicrm_alterMenu](/hooks/hook_civicrm_alterMenu) manipulates the list of HTTP routes (using PHP arrays)
- [hook_civicrm_xmlMenu](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu) manipulates the list of HTTP routes (using XML files) - [hook_civicrm_xmlMenu](/hooks/hook_civicrm_xmlMenu) manipulates the list of HTTP routes (using XML files)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
This hook defines available CiviCRM case types. This hook defines available CiviCRM case types.
Note that this hook is actually an adapter Note that this hook is actually an adapter
for [hook_civicrm_managed](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_managed) for [hook_civicrm_managed](/hooks/hook_civicrm_managed)
, so any case Type defined inside this hook will be automatically , so any case Type defined inside this hook will be automatically
inserted, updated, deactivated, and deleted in tandem with enabling, inserted, updated, deactivated, and deleted in tandem with enabling,
disabling, and uninstalling the module. For more background, see [API disabling, and uninstalling the module. For more background, see [API
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
!!! warning "Deprecation Notice" !!! warning "Deprecation Notice"
This hook is called in very few places in version 4.5+ because most contact reference fields have been migrated to go through the api instead of constructing an ad-hoc query. It will be removed in a future version. This hook is called in very few places in version 4.5+ because most contact reference fields have been migrated to go through the api instead of constructing an ad-hoc query. It will be removed in a future version.
For a substitute, see [hook_civicrm_apiWrappers](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_apiWrappers). For a substitute, see [hook_civicrm_apiWrappers](/hooks/hook_civicrm_apiWrappers).
Use this hook to populate the list of contacts returned by Contact Use this hook to populate the list of contacts returned by Contact
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
## Description ## Description
!!! warning "Deprecated" !!! warning "Deprecated"
This hook is deprecated in 4.7 in favor of [hook_civicrm_fieldOptions](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_fieldOptions). Use that instead for modifying all option lists, not limited to custom fields. This hook is deprecated in 4.7 in favor of [hook_civicrm_fieldOptions](/hooks/hook_civicrm_fieldOptions). Use that instead for modifying all option lists, not limited to custom fields.
## Definition ## Definition
......
# hook_civicrm_optionValues # hook_civicrm_optionValues
!!! warning "Deprecated" !!! warning "Deprecated"
This hook is deprecated in 4.7 in favor of [hook_civicrm_fieldOptions](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_fieldOptions). Use that instead for modifying all option lists, not limited to items in the `civicrm_option_values` table. This hook is deprecated in 4.7 in favor of [hook_civicrm_fieldOptions](/hooks/hook_civicrm_fieldOptions). Use that instead for modifying all option lists, not limited to items in the `civicrm_option_values` table.
## Description ## Description
......
...@@ -52,4 +52,4 @@ new case. ...@@ -52,4 +52,4 @@ new case.
## See also ## See also
[hook_civicrm_pre_case_merge](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_pre_case_merge) [hook_civicrm_pre_case_merge](/hooks/hook_civicrm_pre_case_merge)
\ No newline at end of file \ No newline at end of file
...@@ -28,8 +28,8 @@ Added in CIviCRM 4.5 ...@@ -28,8 +28,8 @@ Added in CIviCRM 4.5
## Example ## Example
See for an example the documentation of the See for an example the documentation of the
[hook_civicrm_post_case_merge](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_post_case_merge) [hook_civicrm_post_case_merge](/hooks/hook_civicrm_post_case_merge)
## See also ## See also
[hook_civicrm_post_case_merge](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_post_case_merge) [hook_civicrm_post_case_merge](/hooks/hook_civicrm_post_case_merge)
\ No newline at end of file \ No newline at end of file
...@@ -15,7 +15,7 @@ This hook is part of a general permissions refactoring which is not yet ...@@ -15,7 +15,7 @@ This hook is part of a general permissions refactoring which is not yet
complete. complete.
The Contact entity is fully covered The Contact entity is fully covered
by [hook_civicrm_aclWhereClause](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_aclWhereClause) by [hook_civicrm_aclWhereClause](/hooks/hook_civicrm_aclWhereClause)
and that is the recommended hook for limiting access to contacts. For and that is the recommended hook for limiting access to contacts. For
other entities, we need to increase coverage of this hook by using the other entities, we need to increase coverage of this hook by using the
api internally instead of directly executing sql, and by standardizing api internally instead of directly executing sql, and by standardizing
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
!!! warning "Deprecation Notice" !!! warning "Deprecation Notice"
This hook has been deprecated in 4.7. This hook has been deprecated in 4.7.
For a substitute, see [hook_civicrm_tabset](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_tabset) For a substitute, see [hook_civicrm_tabset](/hooks/hook_civicrm_tabset)
This hook is called when composing the tabs to display when viewing a This hook is called when composing the tabs to display when viewing a
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
This hook is called to get all the values for the tokens registered. Use This hook is called to get all the values for the tokens registered. Use
it to overwrite or reformat existing token values, or supply the values it to overwrite or reformat existing token values, or supply the values
for custom tokens you have defined in for custom tokens you have defined in
[hook_civicrm_tokens](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_tokens).\ [hook_civicrm_tokens](/hooks/hook_civicrm_tokens).\
See [this See [this
article](https://civicrm.org/blog/colemanw/create-your-own-tokens-for-fun-and-profit) for article](https://civicrm.org/blog/colemanw/create-your-own-tokens-for-fun-and-profit) for
usage examples. usage examples.
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
This hook is called to allow custom tokens to be defined. Their values This hook is called to allow custom tokens to be defined. Their values
will need to be supplied by will need to be supplied by
[hook_civicrm_tokenValues](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_tokenValues).\ [hook_civicrm_tokenValues](/hooks/hook_civicrm_tokenValues).\
See [this See [this
article](http://civicrm.org/blogs/colemanw/create-your-own-tokens-fun-and-profit) article](http://civicrm.org/blogs/colemanw/create-your-own-tokens-fun-and-profit)
for usage examples. for usage examples.
......
...@@ -10,9 +10,9 @@ to register your custom module url's in CiviCRM. You will need to visit ...@@ -10,9 +10,9 @@ to register your custom module url's in CiviCRM. You will need to visit
!!! note "Comparison of Related Hooks" !!! note "Comparison of Related Hooks"
This is one of three related hooks. The hooks: This is one of three related hooks. The hooks:
- [hook_civicrm_navigationMenu](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu) manipulates the navigation bar at the top of every screen - [hook_civicrm_navigationMenu](/hooks/hook_civicrm_navigationMenu) manipulates the navigation bar at the top of every screen
- [hook_civicrm_alterMenu](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterMenu) manipulates the list of HTTP routes (using PHP arrays) - [hook_civicrm_alterMenu](/hooks/hook_civicrm_alterMenu) manipulates the list of HTTP routes (using PHP arrays)
- [hook_civicrm_xmlMenu](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu) manipulates the list of HTTP routes (using XML files) - [hook_civicrm_xmlMenu](/hooks/hook_civicrm_xmlMenu) manipulates the list of HTTP routes (using XML files)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment