Exemplo n.º 1
0
function getContactSummary()
{
    global $messages;
    $conSum = AccountManager::getContactDetail($_SESSION['accountId']);
    $messages = $conSum;
}
Exemplo n.º 2
0
function test_GetContactSummary()
{
    global $EXISTING_CUSTOMER_ACCOUNT_NAME;
    printResultStart(__FUNCTION__);
    $messages = array();
    //Test
    echo "Getting contact summary for user " . $EXISTING_CUSTOMER_ACCOUNT_NAME . "<br>";
    try {
        $sumRes = AccountManager::getContactDetail($EXISTING_CUSTOMER_ACCOUNT_NAME);
    } catch (Exception $e) {
        array_push($messages, "Exception: " . $e->getMessage());
    }
    print_r_html($sumRes);
    printResultEnd($messages);
}