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


PHP SQLQBuilder::countResultFilter方法代码示例

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


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

示例1: countUnAssEmployeeWorkExp

 function countUnAssEmployeeWorkExp($schStr, $mode)
 {
     $tableName = 'HS_HR_EMPLOYEE';
     $arrFieldList[0] = 'EMP_NUMBER';
     $arrFieldList[1] = 'EMP_LASTNAME';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->table2_name = 'HS_HR_EMP_WORK_EXPERIENCE';
     $sql_builder->flg_select = 'true';
     $sql_builder->field = 'EMP_NUMBER';
     $sql_builder->arr_select = $arrFieldList;
     $sqlQString = $sql_builder->countResultFilter($schStr, $mode);
     //echo $sqlQString;
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     $line = mysql_fetch_array($message2, MYSQL_NUM);
     return $line[0];
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:19,代码来源:EmpInfo.php

示例2: countUnAssNonCashBenefits

 function countUnAssNonCashBenefits($schStr, $mode)
 {
     $tableName = 'HS_PR_SALARY_GRADE';
     $arrFieldList[0] = 'SAL_GRD_CODE';
     $arrFieldList[1] = 'SAL_GRD_NAME';
     $sql_builder = new SQLQBuilder();
     $sql_builder->table_name = $tableName;
     $sql_builder->table2_name = 'HS_HR_NONCASH_BEN_SALGRADE';
     $sql_builder->flg_select = 'true';
     $sql_builder->field = 'SAL_GRD_CODE';
     $sql_builder->arr_select = $arrFieldList;
     $sqlQString = $sql_builder->countResultFilter($schStr, $mode);
     //echo $sqlQString;
     $dbConnection = new DMLFunctions();
     $message2 = $dbConnection->executeQuery($sqlQString);
     //Calling the addData() function
     $line = mysql_fetch_array($message2, MYSQL_NUM);
     return $line[0];
 }
开发者ID:noikiy,项目名称:owaspbwa,代码行数:19,代码来源:SalaryGrades.php


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