Guest User

Untitled

a guest
May 24th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php
  2. // CRUD for domain-level settings
  3. civicrm_api('DomainSetting','create', array(
  4.   'domain_id' => $ // optional; default current domain
  5.   'timezone' => $,
  6. ));
  7. // CRUD for contact-level settings
  8. civicrm_api('ContactSetting','create', array(
  9.   'contact_id' => $ // optional; default current user
  10.   'timezone' => $,
  11. ));
  12. // R for settings
  13. civicrm_api('Setting', 'get', array(
  14.   return => 'timezone',
  15. ));
Advertisement
Add Comment
Please, Sign In to add comment