本文整理汇总了PHP中Tracking::count_student_downloaded_documents方法的典型用法代码示例。如果您正苦于以下问题:PHP Tracking::count_student_downloaded_documents方法的具体用法?PHP Tracking::count_student_downloaded_documents怎么用?PHP Tracking::count_student_downloaded_documents使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tracking
的用法示例。
在下文中一共展示了Tracking::count_student_downloaded_documents方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_lang
echo "\t<tr>\t\n\t\t\t\t\t\t\t<td colspan='6'>\n\t\t\t\t\t\t\t\t" . get_lang('NoExercise') . "\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t ";
}
?>
</table>
<!-- line about other tools -->
<table class="data_table">
<tr>
<td>
<?php
$csv_content[] = array();
$nb_assignments = Tracking::count_student_assignments($a_infosUser['user_id'], $a_infosCours['code']);
$messages = Tracking::count_student_messages($a_infosUser['user_id'], $a_infosCours['code']);
$links = Tracking::count_student_visited_links($a_infosUser['user_id'], $a_infosCours['code']);
$documents = Tracking::count_student_downloaded_documents($a_infosUser['user_id'], $a_infosCours['code']);
$chat_last_connection = Tracking::chat_last_connection($a_infosUser['user_id'], $a_infosCours['code']);
$csv_content[] = array(get_lang('Student_publication'), $nb_assignments);
$csv_content[] = array(get_lang('Messages'), $messages);
$csv_content[] = array(get_lang('LinksDetails'), $links);
$csv_content[] = array(get_lang('DocumentsDetails'), $documents);
$csv_content[] = array(get_lang('ChatLastConnection'), $chat_last_connection);
?>
<tr>
<th colspan="2">
<?php
echo get_lang('OtherTools');
?>
</th>
</tr>
<tr><!-- assignments -->
示例2: array
$table->setRowAttributes($row, $class, true);
$column++;
$row++;
}
}
echo $table->toHtml();
}
}
// line about other tools
echo '<table class="data_table">';
$csv_content[] = array();
$nb_assignments = Tracking::count_student_assignments($student_id, $course_code, $sessionId);
$messages = Tracking::count_student_messages($student_id, $course_code, $sessionId);
$links = Tracking::count_student_visited_links($student_id, $info_course['real_id'], $sessionId);
$chat_last_connection = Tracking::chat_last_connection($student_id, $info_course['real_id'], $sessionId);
$documents = Tracking::count_student_downloaded_documents($student_id, $info_course['real_id'], $sessionId);
$uploaded_documents = Tracking::count_student_uploaded_documents($student_id, $course_code, $sessionId);
$csv_content[] = array(get_lang('OtherTools'));
$csv_content[] = array(get_lang('Student_publication'), $nb_assignments);
$csv_content[] = array(get_lang('Messages'), $messages);
$csv_content[] = array(get_lang('LinksDetails'), $links);
$csv_content[] = array(get_lang('DocumentsDetails'), $documents);
$csv_content[] = array(get_lang('UploadedDocuments'), $uploaded_documents);
$csv_content[] = array(get_lang('ChatLastConnection'), $chat_last_connection);
?>
<tr>
<th colspan="2"><?php
echo get_lang('OtherTools');
?>
</th>
</tr>
示例3: array
$table->setRowAttributes($row, $class, true);
$column++;
$row++;
}
}
echo $table->toHtml();
}
}
// line about other tools
echo '<table class="data_table">';
$csv_content[] = array();
$nb_assignments = Tracking::count_student_assignments($student_id, $courseId, $session_id);
$messages = Tracking::count_student_messages($student_id, $courseId, $session_id);
$links = Tracking::count_student_visited_links($student_id, $courseId, $session_id);
$chat_last_connection = Tracking::chat_last_connection($student_id, $courseId, $session_id);
$documents = Tracking::count_student_downloaded_documents($student_id, $courseId, $session_id);
$uploaded_documents = Tracking::count_student_uploaded_documents($student_id, $courseId, $session_id);
$csv_content[] = array(get_lang('Student_publication'), $nb_assignments);
$csv_content[] = array(get_lang('Messages'), $messages);
$csv_content[] = array(get_lang('LinksDetails'), $links);
$csv_content[] = array(get_lang('DocumentsDetails'), $documents);
$csv_content[] = array(get_lang('UploadedDocuments'), $uploaded_documents);
$csv_content[] = array(get_lang('ChatLastConnection'), $chat_last_connection);
?>
<tr>
<th colspan="2"><?php
echo get_lang('OtherTools');
?>
</th>
</tr>
<tr><!-- assignments -->