本文整理汇总了PHP中comments::display_boss_comment方法的典型用法代码示例。如果您正苦于以下问题:PHP comments::display_boss_comment方法的具体用法?PHP comments::display_boss_comment怎么用?PHP comments::display_boss_comment使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类comments
的用法示例。
在下文中一共展示了comments::display_boss_comment方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: comments
<?php
include_once "../session.php";
include_once "header.php";
class comments
{
function display_boss_comment($db_object, $common, $_GET)
{
$assign_performance_appraisal = $common->prefix_table("assign_performance_appraisal");
$appraisal_id = $_GET['fAppraisal_id'];
$path = $common->path;
$xtemplate = $path . "templates/performance/boss_comments.html";
$file = $common->return_file_content($db_object, $xtemplate);
$qry = "select reject_exp from {$assign_performance_appraisal} where dummy_id='{$appraisal_id}'\n\t\t\n\t\tand status='r'";
$qry_res = $db_object->get_a_line($qry);
$xArray[boss_comments] = $qry_res[reject_exp];
$file = $common->direct_replace($db_object, $file, $xArray);
echo $file;
}
}
$obj = new comments();
$obj->display_boss_comment($db_object, $common, $_GET);