コード例 #1
0
function insertInput($aInputData)
{
    $sId = $aInputData['inputId'];
    $sName = $aInputData['inputName'];
    $sType = $aInputData['inputType'];
    $sValue = $aInputData['inputValue'];
    $sBefore = $aInputData['inputBefore'];
    $objResponse = new xajaxResponse();
    $objResponse->addAlert("inputData: " . print_r($aInputData, true));
    $objResponse->addInsertInput($sBefore, $sType, $sName, $sId);
    $objResponse->addAssign($sId, "value", $sValue);
    return $objResponse->getXML();
}