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

Merge pull request #592 from mieg/patch-1

Update bootstrap.md
parents c5a79bf6 8965bb97
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ If you are writting an independent script you can download the [cv](https://gith
eval(`cv php:boot`);
// Call CiviCRM function e.g. API
$contact = civicrm_api3('contact', 'get' array(
$contact = civicrm_api3('contact', 'get', array(
'first_name' => 'Mr',
'last_name' => 'T',
));
......@@ -51,7 +51,7 @@ If you are writing a module in Drupal, Backdrop or WordPress, use the "civicrm_i
civicrm_initialize();
// Call CiviCRM function e.g. API
$contact = civicrm_api3('contact', 'get' array(
$contact = civicrm_api3('contact', 'get', array(
'first_name' => 'Mr',
'last_name' => 'T',
));
......@@ -68,7 +68,7 @@ require_once CIVICRM_CORE_PATH .'CRM/Core/Config.php';
$config = CRM_Core_Config::singleton();
// Call CiviCRM function e.g. API
$contact = civicrm_api3('contact', 'get' array(
$contact = civicrm_api3('contact', 'get', array(
'first_name' => 'Mr',
'last_name' => 'T',
));
......@@ -88,7 +88,7 @@ $config = CRM_Core_Config::singleton();
// CRM_Utils_System::loadBootStrap(array(), FALSE);
// Call CiviCRM function e.g. API
$contact = civicrm_api3('contact', 'get' array(
$contact = civicrm_api3('contact', 'get', array(
'first_name' => 'Mr',
'last_name' => 'T',
));
......
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