* @author yuji TAKAHASHI */ function chiefchk($arg1,$arg2,$dbSqlObj,$dbExecObj) { $sqlstr = $dbSqlObj->selectChiefExistCheck($arg2); $result = $dbExecObj->exeSql($arg1,$sqlstr); if (!$result) { return 0; } return $dbExecObj->getResult($result,0,"count_of_records"); } ?>