Skip to content
Snippets Groups Projects
Unverified Commit c49d0f80 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Update to current state of the hook

parent dc09e5dd
No related branches found
No related tags found
1 merge request!671update hook_civicrm_export signature
......@@ -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)';
}
}
```
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