Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentation
Docs
Developer Documentation
Commits
886bbb61
Commit
886bbb61
authored
5 years ago
by
Seamus Lee
Browse files
Options
Downloads
Patches
Plain Diff
Update documenation following Mikey's comments
parent
54e53291
No related branches found
No related tags found
1 merge request
!744
Resolve issue #742 by documenting new hook_civicrm_alterExternUrl
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/hooks/hook_civicrm_alterExternUrl.md
+2
-3
2 additions, 3 deletions
docs/hooks/hook_civicrm_alterExternUrl.md
with
2 additions
and
3 deletions
docs/hooks/hook_civicrm_alterExternUrl.md
+
2
−
3
View file @
886bbb61
...
...
@@ -5,7 +5,6 @@
This hook allows you to modify extern urls such as click tracking, tracked opens urls
## Definition
```
php
...
...
@@ -22,9 +21,9 @@ hook_civicrm_alterExternUrl(\GuzzleHttp\Psr7\UriInterface &$url, $path, $query,
-
string
`$fragment`
- A fragment identifier (anchor) to append to the link)
-
bool
`$absolute`
Whether to force the output to be an absolute link (beginning with a URI-scheme such as 'http:').
-
bool
`$absolute`
-
Whether to force the output to be an absolute link (beginning with a URI-scheme such as 'http:').
-
bool
`$isSSL`
Whether to redirect to
SSL or not format of the URL, NULL
to autodetect, TRUE
to
force
to SS
L.
-
bool
`$isSSL`
-
Whether to redirect to
an HTTPS or an HTTP URL, NULL allows CiviCRM
to autodetect, TRUE force
s an HTTPS UR
L.
## Returns
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment