[ Index ] |
|
Code source de SugarCRM 5.0.0beta1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 1025 lignes (31 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 1 fois |
Nécessite: | 14 fichiers modules/Leads/Lead.php modules/Cases/Case.php modules/Emails/Email.php include/entryPoint.php modules/Users/User.php include/nusoap/nusoap.php modules/Contacts/Contact.php modules/Accounts/Account.php soap/SoapPortalUsers.php soap/SoapSugarUsers.php soap/SoapError.php include/utils/file_utils.php modules/Opportunities/Opportunity.php soap/SoapData.php |
create_session($user_name, $password) X-Ref |
Create a new session. This method is required before calling any other functions. param: string $user_name -- the user name for the session param: string $password -- MD5 of user password return: "Success" if the session is created return: "Failed" if the session creation failed. |
end_session($user_name) X-Ref |
End a session. This method will end the SOAP session. param: string $user_name -- the user name for the session return: "Success" if the session is destroyed return: "Failed" if the session destruction failed. |
validate_user($user_name, $password) X-Ref |
Validate the user session based on user name and password hash. param: string $user_name -- The user name to create a session for param: string $password -- The MD5 sum of the user's password return: true -- If the session is created return: false -- If the session is not created |
add_contacts_matching_email_address(&$output_list, $email_address, &$seed_contact, &$msi_id) X-Ref |
Internal: When building a response to the plug-in for Microsoft Outlook, find all contacts that match the email address that was provided. param: array by ref $output_list -- The list of matching beans. New contacts that match param: string $email_address -- an email address to search for param: Contact $seed_contact -- A template SugarBean. This is a blank Contact param: ID $msi_id -- Index Count |
add_leads_matching_email_address(&$output_list, $email_address, &$seed_lead, &$msi_id) X-Ref |
Internal: Add Leads that match the specified email address to the result array param: Array $output_list -- List of matching detail records param: String $email_address -- Email address param: Bean $seed_lead -- Seed Lead Bean param: int $msi_id -- output array offset. |
get_contact_relationships($user_name, $password, $id) X-Ref |
Return a list of modules related to the specifed contact record This function does not require a session be created first. param: string $user_name -- User name to authenticate with param: string $password -- MD5 of the user password param: string $id -- the id of the record return: contact detail array along with associated objects. |
contact_by_email($user_name, $password, $email_address) X-Ref |
Return a list of contact and lead detail records based on a single email address or a list of email addresses separated by '; '. This function does not require a session be created first. param: string $user_name -- User name to authenticate with param: string $password -- MD5 of the user password param: string $email_address -- Single email address or '; ' separated list of email addresses (e.x "test@example.com; test2@example.com" return: contact detail array along with associated objects. |
get_contact_array($contact, $msi_id = '0') X-Ref |
Internal: convert a bean into an array param: Bean $bean -- The bean to convert param: int $msi_id -- Russult array index return: An associated array containing the detail fields. |
get_user_list_array($user) X-Ref |
Internal: Convert a user into an array param: User $user -- The user to convert return: An associated array containing the detail fields. |
user_list($user, $password) X-Ref |
Get a full user list. This function does not require a session be created first. param: string $user -- user name for validation param: password $password -- MD5 hash of the user password for validation return: User Array -- An array of user detail records |
contact_by_search($name, $where = '', $msi_id = '0') X-Ref |
Internal: Search for contacts based on the specified name and where clause. Currently only the name is used. param: string $name -- Name to search for. param: string $where -- Where clause defaults to '' param: int $msi_id -- Response array index return: array -- Resturns a list of contacts that have the provided name. |
get_lead_array($lead, $msi_id = '0') X-Ref |
Internal: convert a bean into an array param: Bean $bean -- The bean to convert param: int $msi_id -- Russult array index return: An associated array containing the detail fields. |
lead_by_search($name, $where = '', $msi_id = '0') X-Ref |
Pas de description |
get_account_array($account, $msi_id) X-Ref |
Internal: convert a bean into an array param: Bean $bean -- The bean to convert param: int $msi_id -- Russult array index return: An associated array containing the detail fields. |
account_by_search($name, $where = '', $msi_id = '0') X-Ref |
Pas de description |
get_opportunity_array($value, $msi_id = '0') X-Ref |
Internal: convert a bean into an array param: Bean $bean -- The bean to convert param: int $msi_id -- Russult array index return: An associated array containing the detail fields. |
opportunity_by_search($name, $where = '', $msi_id = '0') X-Ref |
Pas de description |
get_bean_array($value, $msi_id, $type) X-Ref |
Internal: convert a bean into an array param: Bean $bean -- The bean to convert param: int $msi_id -- Russult array index return: An associated array containing the detail fields. |
get_case_array($value, $msi_id) X-Ref |
Internal: convert a bean into an array param: Bean $bean -- The bean to convert param: int $msi_id -- Russult array index return: An associated array containing the detail fields. |
bug_by_search($name, $where = '', $msi_id='0') X-Ref |
Pas de description |
case_by_search($name, $where = '', $msi_id='0') X-Ref |
Pas de description |
track_email($user_name, $password,$parent_id, $contact_ids, $date_sent, $email_subject, $email_body) X-Ref |
Record and email message and associated it with the specified parent bean and contact ids. This function does not require a session be created first. param: string $user_name -- Name of the user to authenticate param: string $password -- MD5 hash of the user password for authentication param: id $parent_id -- [optional] The parent record to link the email to. param: unknown_type $contact_ids param: string $date_sent -- Date/time the email was sent in Visual Basic Date format. (e.g. '7/22/2004 9:36:31 AM') param: string $email_subject -- The subject of the email param: string $email_body -- The body of the email return: "Invalid username and/or password" return: -1 If the authenticated user does not have ACL access to save Email. |
create_contact($user_name,$password, $first_name, $last_name, $email_address) X-Ref |
Pas de description |
create_lead($user_name,$password, $first_name, $last_name, $email_address) X-Ref |
Pas de description |
create_account($user_name,$password, $name, $phone, $website) X-Ref |
Pas de description |
create_case($user_name,$password, $name) X-Ref |
Pas de description |
create_opportunity($user_name,$password, $name, $amount) X-Ref |
Pas de description |
search($user_name, $password,$name) X-Ref |
Pas de description |
Généré le : Tue Sep 11 10:48:47 2007 | par Balluche grâce à PHPXref 0.7 |