当前位置: 首页>>代码示例>>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;未经允许,请勿转载。