當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Tracking::chat_last_connection方法代碼示例

本文整理匯總了PHP中Tracking::chat_last_connection方法的典型用法代碼示例。如果您正苦於以下問題:PHP Tracking::chat_last_connection方法的具體用法?PHP Tracking::chat_last_connection怎麽用?PHP Tracking::chat_last_connection使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Tracking的用法示例。


在下文中一共展示了Tracking::chat_last_connection方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: array

        }
        ?>
					
					</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 -->
					<td width="40%">
開發者ID:RusticiSoftware,項目名稱:SCORMCloud_DokeosMod,代碼行數:31,代碼來源:myStudents.php

示例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>
開發者ID:omaoibrahim,項目名稱:chamilo-lms,代碼行數:31,代碼來源:myStudents.php

示例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>
開發者ID:ilosada,項目名稱:chamilo-lms-icpna,代碼行數:31,代碼來源:myStudents.php


注:本文中的Tracking::chat_last_connection方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。