本文整理汇总了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];
}
示例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];
}