From c49d0f807d8782da62494a1830575e7da6223aa7 Mon Sep 17 00:00:00 2001 From: Seamus Lee <seamuslee001@gmail.com> Date: Mon, 16 Sep 2019 15:05:01 +1000 Subject: [PATCH] Update to current state of the hook --- docs/hooks/hook_civicrm_export.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/hooks/hook_civicrm_export.md b/docs/hooks/hook_civicrm_export.md index d8a85ade..54e9d2da 100644 --- a/docs/hooks/hook_civicrm_export.md +++ b/docs/hooks/hook_civicrm_export.md @@ -11,7 +11,7 @@ This hook was first available in CiviCRM 3.2.4, $componentTable and $ids variabl ## Definition - hook_civicrm_export ($exportTempTable, &$headerRows, &$sqlColumns, $exportMode, $componentTable, $ids) + hook_civicrm_export (&$exportTempTable, &$headerRows, &$sqlColumns, $exportMode, $componentTable, $ids) ## Parameters @@ -26,7 +26,7 @@ This hook was first available in CiviCRM 3.2.4, $componentTable and $ids variabl ## Details ## Example - +```php function civitest_civicrm_export( $exportTempTable, $headerRows, $sqlColumns, $exportMode, $componentTable, $ids ) { $writeHeader = true; $offset = 0; @@ -110,3 +110,4 @@ This hook was first available in CiviCRM 3.2.4, $componentTable and $ids variabl $sqlColumns['psf_cost_centre'] = 'psf_cost_centre varchar(255)'; } } +``` -- GitLab