当前位置: 首页>>代码示例>>PHP>>正文


PHP SQLQBuilder::addNewRecordFeature1方法代码示例

本文整理汇总了PHP中SQLQBuilder::addNewRecordFeature1方法的典型用法代码示例。如果您正苦于以下问题:PHP SQLQBuilder::addNewRecordFeature1方法的具体用法?PHP SQLQBuilder::addNewRecordFeature1怎么用?PHP SQLQBuilder::addNewRecordFeature1使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SQLQBuilder的用法示例。


在下文中一共展示了SQLQBuilder::addNewRecordFeature1方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: addJobTitEmpStat

 function addJobTitEmpStat()
 {
     $arrFieldList[0] = "'" . $this->getJobTitId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpStatId() . "'";
     $tableName = 'HS_HR_JOBTIT_EMPSTAT';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:15,代码来源:JobTitEmpStat.php

示例2: addRepUserGroup

 function addRepUserGroup()
 {
     $arrFieldList[0] = "'" . $this->getUserGroupID() . "'";
     $arrFieldList[1] = "'" . $this->getRepCode() . "'";
     $tableName = 'HS_HR_EMPREP_USERGROUP';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
     echo $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:16,代码来源:EmpRepUserGroups.php

示例3: addProject

 /**
  * Add new project
  *
  * Deleted will be overwritten to NOT_DELETED
  */
 public function addProject()
 {
     if ($this->_isDuplicateName()) {
         throw new ProjectsException("Duplicate name", 1);
     }
     $this->projectID = UniqueIDGenerator::getInstance()->getNextID(self::TABLE_NAME, self::PROJECT_DB_FIELD_PROJECT_ID);
     $arrRecord[0] = "'" . $this->getProjectId() . "'";
     $arrRecord[1] = "'" . $this->getCustomerId() . "'";
     $arrRecord[2] = "'" . $this->getProjectName() . "'";
     $arrRecord[3] = "'" . $this->getProjectDescription() . "'";
     $arrRecord[4] = self::PROJECT_NOT_DELETED;
     $tableName = self::TABLE_NAME;
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrRecord;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     if ($message2 && mysql_affected_rows() > 0) {
         return true;
     }
     return false;
 }
开发者ID:googlecode-mirror,项目名称:pucit-orangehrm,代码行数:30,代码来源:Projects.php

示例4: addEmpStat

 function addEmpStat()
 {
     $tableName = 'HS_HR_EMPSTAT';
     $this->empStatId = UniqueIDGenerator::getInstance()->getNextID($tableName, 'ESTAT_CODE', 'EST');
     $arrFieldList[0] = "'" . $this->getEmpStatId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpStatName() . "'";
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:googlecode-mirror,项目名称:pucit-orangehrm,代码行数:16,代码来源:EmployStat.php

示例5: addEmpPic

 function addEmpPic()
 {
     $dbConnection = new DMLFunctions();
     $this->_escapeFields();
     $arrFieldList[0] = "'" . $this->getEmpId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpPicture() . "'";
     $arrFieldList[2] = "'" . $this->getEmpFilename() . "'";
     $arrFieldList[3] = "'" . $this->getEmpPicType() . "'";
     $arrFieldList[4] = "'" . $this->getEmpPicSize() . "'";
     $tableName = 'HS_HR_EMP_PICTURE';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     /* We pass false to $quoteCorrect field, since it can corrupt the picture binary data */
     $sqlQString = $sql_builder->addNewRecordFeature1(false);
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:googlecode-mirror,项目名称:pucit-orangehrm,代码行数:20,代码来源:EmpPhoto.php

示例6: addMembershipInfo

 function addMembershipInfo()
 {
     if ($this->_isDuplicateName()) {
         throw new MembershipInfoException("Duplicate name", 1);
     }
     $tableName = 'hs_hr_membership';
     $this->membershipId = UniqueIDGenerator::getInstance()->getNextID($tableName, 'membship_code', 'MME');
     $arrFieldList[0] = "'" . $this->getMembershipInfoId() . "'";
     $arrFieldList[1] = "'" . $this->getMembershipTypeId() . "'";
     $arrFieldList[2] = "'" . $this->getMembershipInfoDesc() . "'";
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:googlecode-mirror,项目名称:pucit-orangehrm,代码行数:20,代码来源:MembershipInfo.php

示例7: addEmpSkill

 function addEmpSkill()
 {
     $this->getEmpId();
     $arrFieldList[0] = "'" . $this->getEmpId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpSkillCode() . "'";
     $arrFieldList[2] = "'" . $this->getEmpYearsOfExp() . "'";
     $arrFieldList[3] = "'" . $this->getEmpComments() . "'";
     $tableName = 'HS_HR_EMP_SKILL';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:18,代码来源:EmpSkill.php

示例8: addEducation

 function addEducation()
 {
     $tableName = 'hs_hr_education';
     $this->eduId = UniqueIDGenerator::getInstance()->getNextID($tableName, 'edu_code', 'EDU');
     $arrFieldList[0] = "'" . $this->getEduId() . "'";
     $arrFieldList[1] = "'" . $this->getEduUni() . "'";
     $arrFieldList[2] = "'" . $this->getEduDeg() . "'";
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
     echo $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:18,代码来源:Education.php

示例9: addEmpPP

 function addEmpPP()
 {
     $this->getEmpId();
     $arrFieldList[0] = "'" . $this->getEmpId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpPPSeqNo() . "'";
     $arrFieldList[2] = "'" . $this->getEmpPPNo() . "'";
     $arrFieldList[3] = $this->getEmpPPIssDat();
     // Quotes removed to accept null values
     $arrFieldList[4] = $this->getEmpPPExpDat();
     $arrFieldList[5] = "'" . $this->getEmpPPComment() . "'";
     $arrFieldList[6] = "'" . $this->getEmppassportflag() . "'";
     $arrFieldList[7] = "'" . $this->getEmpI9Status() . "'";
     $arrFieldList[8] = $this->getEmpI9ReviewDat();
     $arrFieldList[9] = "'" . $this->getEmpNationality() . "'";
     $tableName = 'HS_HR_EMP_PASSPORT';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     //$logw = new LogFileWriter();
     //$logw->writeLogDB($sqlQString);
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
     echo $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:28,代码来源:EmpPassPort.php

示例10: addCustomer

 /**
  *
  */
 public function addCustomer()
 {
     if ($this->_isDuplicateName()) {
         throw new CustomerException("Duplicate name", 1);
     }
     $this->customerId = UniqueIDGenerator::getInstance()->getNextID(self::TABLE_NAME, self::CUSTOMER_DB_FIELDS_ID);
     $arrRecord[0] = "'" . $this->getCustomerId() . "'";
     $arrRecord[1] = "'" . $this->getCustomerName() . "'";
     $arrRecord[2] = "'" . $this->getCustomerDescription() . "'";
     $arrRecord[3] = self::CUSTOMER_NOT_DELETED;
     $tableName = self::TABLE_NAME;
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrRecord;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:THM068,项目名称:orangehrm,代码行数:24,代码来源:Customer.php

示例11: addEthnicRace

 function addEthnicRace()
 {
     if ($this->_isDuplicateName()) {
         throw new EthnicaRaceException("Duplicate name", 1);
     }
     $tableName = 'hs_hr_ethnic_race';
     $this->ethnicrace = UniqueIDGenerator::getInstance()->getNextID($tableName, 'ethnic_race_code', 'ETH');
     $arrFieldList[0] = "'" . $this->getethnicrace() . "'";
     $arrFieldList[1] = "'" . $this->getethnicraceDescription() . "'";
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:googlecode-mirror,项目名称:pucit-orangehrm,代码行数:19,代码来源:EthnicRace.php

示例12: addEmpJobSpec

 function addEmpJobSpec()
 {
     $this->getEmpId();
     $arrFieldList[0] = "'" . $this->getEmpId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpJDCatCode() . "'";
     $arrFieldList[2] = "'" . $this->getEmpJobSpecAtt() . "'";
     $tableName = 'HS_HR_EMP_JOBSPEC';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
     echo $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:18,代码来源:EmpJobSpec.php

示例13: addEmpQual

 function addEmpQual()
 {
     $this->getEmpId();
     $arrFieldList[0] = "'" . $this->getEmpQualId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpId() . "'";
     $arrFieldList[2] = "'" . $this->getEmpQualInst() . "'";
     $arrFieldList[3] = "'" . $this->getEmpQualYear() . "'";
     $arrFieldList[4] = "'" . $this->getEmpQualStat() . "'";
     $arrFieldList[5] = "'" . $this->getEmpQualComment() . "'";
     $tableName = 'HS_HR_EMP_QUALIFICATION';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
     echo $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:21,代码来源:EmpQual.php

示例14: addReport

 function addReport()
 {
     $tableName = 'HS_HR_EMPREPORT';
     $this->repID = UniqueIDGenerator::getInstance()->getNextID($tableName, 'REP_CODE', 'REP');
     $arrFieldList[0] = "'" . $this->getRepID() . "'";
     $arrFieldList[1] = "'" . $this->getRepName() . "'";
     $arrFieldList[2] = "'" . $this->getRepCriteriaDefString() . "'";
     $arrFieldList[3] = "'" . $this->getRepFieldDefString() . "'";
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:18,代码来源:EmpReport.php

示例15: addEmpEC

 function addEmpEC()
 {
     $this->getEmpId();
     $arrFieldList[0] = "'" . $this->getEmpId() . "'";
     $arrFieldList[1] = "'" . $this->getEmpECSeqNo() . "'";
     $arrFieldList[2] = "'" . $this->getEmpEConName() . "'";
     $arrFieldList[3] = "'" . $this->getEmpEConRel() . "'";
     $arrFieldList[4] = "'" . $this->getEmpEConHmTel() . "'";
     $arrFieldList[5] = "'" . $this->getEmpEConMobile() . "'";
     $arrFieldList[6] = "'" . $this->getEmpEConWorkTel() . "'";
     $tableName = 'HS_HR_EMP_EMERGENCY_CONTACTS';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->flg_insert = 'true';
     $sql_builder->arr_insert = $arrFieldList;
     $sqlQString = $sql_builder->addNewRecordFeature1();
     /*$logw = new LogFileWriter();
     	$logw->writeLogDB($sqlQString);*/
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     return $message2;
     echo $message2;
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:24,代码来源:EmpEmergencyCon.php


注:本文中的SQLQBuilder::addNewRecordFeature1方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。