?> </pre> <h1>Testing Delete</h1> <?php $out = $contact->delete(); ?> <pre> It Worked! </pre> <h1>Testing GetAppSetting</h1> <pre> <?php $out = Infusionsoft_DataService::getAppSetting('Product', 'trackcpu'); echo didItWorkNotEmpty($out); ?> </pre> <h1>Testing addCustomField</h1> <pre> No Test Written Yet </pre> <h1>Testing updateCustomField</h1> <pre> No Test Written Yet </pre> <h1>Testing getAppointmentICal</h1>
<form> module: <input type="text" name="module" value="<?php if (isset($_REQUEST['module'])) { echo htmlspecialchars($_REQUEST['module']); } ?> "><br/> setting: <input type="text" name="setting" value="<?php if (isset($_REQUEST['setting'])) { echo htmlspecialchars($_REQUEST['setting']); } ?> "><br/> <input type="submit"> <input type="hidden" name="go"> </form> <?php include '../infusionsoft.php'; include 'testUtils.php'; if (isset($_REQUEST['go'])) { $out = Infusionsoft_DataService::getAppSetting($_REQUEST['module'], $_REQUEST['setting']); var_dump($out); }