public static addCustomField ( Infusionsoft_Generated_Base &$object, $displayName, $dataType, $groupId, Infusionsoft_App $app = null ) | ||
$object | Infusionsoft_Generated_Base | |
$app | Infusionsoft_App |
} ?> "><br/> displayName: <input type="text" name="displayName" value="<?php if (isset($_REQUEST['displayName'])) { echo htmlspecialchars($_REQUEST['displayName']); } ?> "><br/> dataType: <input type="text" name="dataType" value="<?php if (isset($_REQUEST['dataType'])) { echo htmlspecialchars($_REQUEST['dataType']); } ?> "><br/> groupId: <input type="text" name="groupId" value="<?php if (isset($_REQUEST['groupId'])) { echo htmlspecialchars($_REQUEST['groupId']); } ?> "><br/> <input type="submit"> <input type="hidden" name="go"> </form> <?php include '../infusionsoft.php'; include 'testUtils.php'; if (isset($_REQUEST['go'])) { $out = Infusionsoft_DataService::addCustomField($_REQUEST['context'], $_REQUEST['displayName'], $_REQUEST['dataType'], $_REQUEST['groupId']); var_dump($out); }