schoolManager->getClassVacationHomeworkList($classId); else $rs = $this->schoolManager->getClassesVacationHomeworkList(); $classes = $this->schoolManager->getClasses(); $this->render("classeshomework", array( "printType" => "vh", "rs" => $rs["rs"], "pager" => $rs["pager"], "classes" => $classes, "classId" => $classId, )); } public function actionStudents(){ $classId = Req::get("classId"); $studentName = Req::get("sname"); if($classId) $rs = $this->schoolManager->getClassVhStudents($classId,$studentName); else $rs = $this->schoolManager->buildEmptyPagingStruct(); $this->render("studentshomework", array( "class_id" => $classId, "sname" => $studentName, "printType" => "vh", "classId" => $classId, "rs" => $rs["rs"], "pager" => $rs["pager"], )); } }