* * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo. If the display of the logo is not reasonably feasible for * technical reasons, the Appropriate Legal Notices must display the words * "Powered by SugarCRM". ********************************************************************************/ require_once 'include/vCard.php'; if (isset($_SESSION['authenticated_user_language']) && $_SESSION['authenticated_user_language'] != '') { $current_language = $_SESSION['authenticated_user_language']; } else { $current_language = $sugar_config['default_language']; } //set module and application string arrays based upon selected language $app_strings = return_application_language($current_language); $app_list_strings = return_app_list_strings_language($current_language); $vcard = new vCard(); $module = 'Contacts'; if (isset($_REQUEST['module'])) { $module = clean_string($_REQUEST['module']); } $vcard->loadContact($_REQUEST['contact_id'], $module); $vcard->saveVCard();
function display() { $vcard = new vCard(); $vcard->loadContact($this->bean->id, $this->bean->object_name); $vcard->saveVCard(); }
/** * @see SugarView::display() */ public function display() { $vcard = new vCard(); $vcard->loadContact($this->bean->id, $this->module); $vcard->saveVCard(); }