From 49120c19601c2f66e7d988868a395286de43e523 Mon Sep 17 00:00:00 2001 From: Sean Madsen <sean@seanmadsen.com> Date: Sat, 17 Jun 2017 17:48:04 -0600 Subject: [PATCH] Markdown improvements for hook_civicrm_batchItems --- docs/hooks/hook_civicrm_batchItems.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/hooks/hook_civicrm_batchItems.md b/docs/hooks/hook_civicrm_batchItems.md index ed1f66ac..c490be65 100644 --- a/docs/hooks/hook_civicrm_batchItems.md +++ b/docs/hooks/hook_civicrm_batchItems.md @@ -9,18 +9,16 @@ will be called three times regarding each batch. ## Definition - hook_civicrm_batchItems(&$results, &$items) +```php +hook_civicrm_batchItems(&$results, &$items) +``` ## Parameters -- `$results` - the query result for the current batch that is being - processed -- `$items` - the entries of financial items that will actually become - the records on the CSV (still per batch based) +- `$results` - the query result for the current batch that is being processed +- `$items` - the entries of financial items that will actually become the records on the CSV (still per batch based) ## Hints -- This hook can be used together with `hook_civicrm_batchQuey` to add/ - 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. +- This hook can be used together with `hook_civicrm_batchQuey` to add/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. -- GitLab