Skip to content
Snippets Groups Projects
Commit 49120c19 authored by Sean Madsen's avatar Sean Madsen Committed by GitHub
Browse files

Markdown improvements for hook_civicrm_batchItems

parent 8d99a46c
No related branches found
No related tags found
No related merge requests found
...@@ -9,18 +9,16 @@ will be called three times regarding each batch. ...@@ -9,18 +9,16 @@ will be called three times regarding each batch.
## Definition ## Definition
hook_civicrm_batchItems(&$results, &$items) ```php
hook_civicrm_batchItems(&$results, &$items)
```
## Parameters ## Parameters
- `$results` - the query result for the current batch that is being - `$results` - the query result for the current batch that is being processed
processed - `$items` - the entries of financial items that will actually become the records on the CSV (still per batch based)
- `$items` - the entries of financial items that will actually become
the records on the CSV (still per batch based)
## Hints ## Hints
- This hook can be used together with `hook_civicrm_batchQuey` to add/ - This hook can be used together with `hook_civicrm_batchQuey` to add/modify the information in CSV batch exports
modify the information in CSV batch exports - You can loop through the two parameters to modify per financial item. This can even be used to filter financial items.
- You can loop through the two parameters to modify per financial
item. This can even be used to filter financial items.
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