Skip to content
Snippets Groups Projects
Commit 1489d3c8 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #2318 from kenahoo/patch-1

Fix the require_once() example, fold a long line
parents 50ef07fe 0cd417ef
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
* This class allows to consume the API, either from within a module that knows civicrm already:
*
* @code
* require_once('api/class/api.php');
* require_once('api/class.api.php');
* $api = new civicrm_api3();
* @endcode
*
......@@ -20,7 +20,9 @@
* or to query a remote server via the rest api
*
* @code
* $api = new civicrm_api3 (array ('server' => 'http://example.org','api_key'=>'theusersecretkey','key'=>'thesitesecretkey'));
* $api = new civicrm_api3 (array ('server' => 'http://example.org',
* 'api_key'=>'theusersecretkey',
* 'key'=>'thesitesecretkey'));
* @endcode
*
* No matter how initialised and if civicrm is local or remote, you use the class the same way.
......
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