コード例 #1
0
function updateHotelFetursList()
{
    $hotelfeatureslist = new HotelFetursList();
    $get_edited = array();
    foreach ($_REQUEST as $k => $v) {
        $get_edited[str_replace("edit_", "", $k)] = $v;
    }
    $hotelfeatureslist->setValues($get_edited);
    if ($hotelfeatureslist->updateHotelFeatureList()) {
        Common::jsonSuccess("Hotel Features List Update Successfully!");
    } else {
        Common::jsonError("Error");
    }
}