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