<?php
class AppStatusSmtaToSia extends Database {

	protected $mSqlFile= 'module/status_smta/business/appstatussmta.sql.php';
	
	function __construct($connectionNumber=1) {
		parent::__construct($connectionNumber);
		
	}

//===do===
	function DoAddStatusSmta($statusSmtaId,$statusSmta) {
		$result = $this->Execute($this->mSqlQueries['do_add_status_smta'], array($statusSmtaId,$statusSmta));
  	   return $result;
	}

	function DoUpdateStatusSmta( $statusSmta,$statusSmtaId) {
		$result = $this->Execute($this->mSqlQueries['do_update_status_smta'], array($statusSmta,$statusSmtaId));	
      return $result;
	}

	function DoDeleteStatusSmtaById($statusSmta) {
		$result=$this->Execute($this->mSqlQueries['do_delete_status_smta_by_id'], array($statusSmta));
		return $result;
	}
	function DoDeleteStatusSmtaByArrayId($arrStatusSmtaId) {
		$statusSmtaId = implode("', '", $arrStatusSmtaId);
		$result=$this->Execute($this->mSqlQueries['do_delete_status_smta_by_array_id'], array($statusSmtaId));
      return $result;
	}
}
?>