function updateFeeStructure($feestructureID, $name, $amount, $activeflag, $id, $receiptno) { $conn = getConnection(); $Obj = getFeeStructure($feestructureID); $Obj->setName($name); $Obj->setAmount($amount); $Obj->setActiveFlag($activeflag); $Obj->setCreatedBy($id); $Obj->setReceiptNo($receiptno); $result = $Obj->update(); if ($result) { $message = "Fee Structure Updated Successfully :" . $name; } else { $message = "Fee Structure Updation Failed : " . $name; } return $message; }
function getFeeStructureObj() { return getFeeStructure($this->feeStructureID); }