echo include_partial('global/tab', array('actions2' => $actions2));
echo form_remote_tag(array('url' => 'course_score/salvareCounseling', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle, 'type' => $type, 'title' => __('Penilaian Keseluruhan')));
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('course_id', $course_schedule->getId());
echo input_hidden_tag('employee_id', $employee_id);
$grade1_ids = array();
$grade2_ids = array();
$cem = new Criteria();
$cem->add(CourseRegulationPeer::ACADEMIC_CALENDAR_ID, $course_schedule->getAcademicCalendarId());
$cem->add(CourseRegulationPeer::CLASS_GROUP_ID, $course_schedule->getClassGroupId());
$cem->add(CourseRegulationPeer::SUBJECT_CURR_ID, $course_schedule->getSubjectCurrId());
$course_reg = CourseRegulationPeer::doSelectOne($cem);
$cer = new Criteria();
$cer->add(GradeSpecKkmPeer::COURSE_SCHEDULE_ID, $course_schedule->getId());
$gradespecs = GradeSpecKkmPeer::doSelect($cer);
$specs = array();
foreach ($gradespecs as $gradespec) {
    $specs[$gradespec->getGradeSpecId()] = $gradespec->getKkm();
}
?>

        <table class="list_score">
        <tr><td class="list_score">
                    
                <table class="list_content" width="100%">		
                <thead>
                        <tr>
                                <th class="score" width="5%" height="25px">#</th>
                                <th class="score"><?php 
echo __('Name');
Ejemplo n.º 2
0
 public static function retrieveByPKs($pks, $con = null)
 {
     if ($con === null) {
         $con = Propel::getConnection(self::DATABASE_NAME);
     }
     $objs = null;
     if (empty($pks)) {
         $objs = array();
     } else {
         $criteria = new Criteria();
         $criteria->add(GradeSpecKkmPeer::ID, $pks, Criteria::IN);
         $objs = GradeSpecKkmPeer::doSelect($criteria, $con);
     }
     return $objs;
 }