<?php
class AppStatusKeluargaToFinansi extends Database {

	protected $mSqlFile= 'module/status_keluarga/business/appstatuskeluargatofinansi.sql.php';

	function __construct($connectionNumber=3) {
		parent::__construct($connectionNumber);
		
      }
//------------------------do---------------------------------------------------------------
   function AddStatusKeluarga($status_keluarga_id, $sts_klrga_nama){
      $result = $this->Execute($this->mSqlQueries['do_add_status_keluarga'], array($status_keluarga_id,$sts_klrga_nama,$sts_klrga_nama));
//       die;
		return $result;
   }

   function updateStatusKeluarga($sts_klrga_nama,$id){
      $result = $this->Execute($this->mSqlQueries['do_update_status_keluarga'], array($sts_klrga_nama,$sts_klrga_nama,$id));
//       die;
      return $result;
   }

   function deleteStatusKeluargaById($id){
      $result=$this->Execute($this->mSqlQueries['do_delete_status_keluarga_by_id'], array($id));
//       die;
		return $result;
   }

   function deleteArrStatusKeluarga($arrId){
      $stsKlrgaId = implode("', '", $arrId);
		$result=$this->Execute($this->mSqlQueries['do_delete_status_keluarga_by_array_id'], array($stsKlrgaId));
//       die;
		return $result;
   }
}
?>