CiviCRM/CiviMail: Difference between revisions
Adds old tuturial |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| Line 46: | Line 46: | ||
< | <syntaxhighlight lang="php"> | ||
$result = civicrm_api3('CustomValue', 'get', array( | $result = civicrm_api3('CustomValue', 'get', array( | ||
'sequential' => 1, | 'sequential' => 1, | ||
'entity_id' => 2, | 'entity_id' => 2, | ||
)); | )); | ||
</ | </syntaxhighlight> | ||
you'll get 31 results: | you'll get 31 results: | ||
<pre> | <pre> | ||
| Line 74: | Line 74: | ||
If you do a 'Contact' GET via the API, searching for contacts with a 'custom_40' like 'freephile' | If you do a 'Contact' GET via the API, searching for contacts with a 'custom_40' like 'freephile' | ||
< | <syntaxhighlight lang="php"> | ||
$result = civicrm_api3('Contact', 'get', array( | $result = civicrm_api3('Contact', 'get', array( | ||
'sequential' => 1, | 'sequential' => 1, | ||
| Line 80: | Line 80: | ||
)); | )); | ||
</ | </syntaxhighlight> | ||
You'll get "no results" | You'll get "no results" | ||
<pre> | <pre> | ||