本文整理汇总了PHP中Tracking::count_student_uploaded_documents方法的典型用法代码示例。如果您正苦于以下问题:PHP Tracking::count_student_uploaded_documents方法的具体用法?PHP Tracking::count_student_uploaded_documents怎么用?PHP Tracking::count_student_uploaded_documents使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tracking
的用法示例。
在下文中一共展示了Tracking::count_student_uploaded_documents方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$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>
<tr><!-- assignments -->
示例2: array
$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 -->
<td width="40%"><?php