function _salesforce_select_account in Salesforce Suite 5
6 calls to _salesforce_select_account()
- salesforce_account_select in includes/
salesforce_api.inc - select from the salesforce contact table
- salesforce_contract_select in includes/
salesforce_api.inc - retreive contract information from an account
- salesforce_event in includes/
salesforce_api.inc - handle events (history) in salesforce
- _salesforce_insert in ./
salesforce.module - used for inserting a single column into the salesforce_users table
- _salesforce_log_user in ./
salesforce.module - handle logging of user errors
File
- ./
salesforce.module, line 620 - Original Creator, Maintainer & Developer: Steve McKenzie (http://drupal.org/user/45890) Drupal and Salesforce.com (mainly only working with contacts / leads but can be extended to do anything the salesforce API version 6 can do) Current…
Code
function _salesforce_select_account($account = NULL) {
if (!$account) {
global $user;
$account = user_load(array(
'uid' => $user->uid,
));
}
return $account;
}