当前位置: 首页>>代码示例>>PHP>>正文


PHP base::get_legacy_logdata方法代码示例

本文整理汇总了PHP中base::get_legacy_logdata方法的典型用法代码示例。如果您正苦于以下问题:PHP base::get_legacy_logdata方法的具体用法?PHP base::get_legacy_logdata怎么用?PHP base::get_legacy_logdata使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在base的用法示例。


在下文中一共展示了base::get_legacy_logdata方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $user = $this->get_record_snapshot('user', $this->relateduserid);
     $marker = $this->get_record_snapshot('user', $this->other['markerid']);
     $a = array('id' => $user->id, 'fullname' => fullname($user), 'marker' => fullname($marker));
     $logmessage = get_string('setmarkerallocationforlog', 'assign', $a);
     $this->set_legacy_logdata('set marking allocation', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:14,代码来源:marker_updated.php

示例2: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $logmessage = get_string('viewbatchmarkingallocation', 'assign');
     $this->set_legacy_logdata('view batch set marker allocation', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:evltuma,项目名称:moodle,代码行数:11,代码来源:batch_set_marker_allocation_viewed.php

示例3: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $this->set_legacy_logdata('download all submissions', get_string('downloadall', 'assign'));
     return parent::get_legacy_logdata();
 }
开发者ID:evltuma,项目名称:moodle,代码行数:10,代码来源:all_submissions_downloaded.php

示例4: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     if ($this->relateduserid == $this->userid) {
         $title = get_string('editsubmission', 'assign');
     } else {
         $user = $this->get_record_snapshot('user', $this->relateduserid);
         $title = get_string('editsubmissionother', 'assign', fullname($user));
     }
     $this->set_legacy_logdata('view submit assignment form', $title);
     return parent::get_legacy_logdata();
 }
开发者ID:sumitnegi933,项目名称:Moodle_lms_New,代码行数:16,代码来源:submission_form_viewed.php

示例5: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $submission = $this->get_record_snapshot('assign_submission', $this->objectid);
     $user = $this->get_record_snapshot('user', $submission->userid);
     $logmessage = get_string('reverttodraftforstudent', 'assign', array('id' => $user->id, 'fullname' => fullname($user)));
     $this->set_legacy_logdata('revert submission to draft', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:evltuma,项目名称:moodle,代码行数:13,代码来源:submission_status_updated.php

示例6: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $logmessage = get_string('viewsubmissionforuser', 'assign', $this->relateduserid);
     $this->set_legacy_logdata('view submission', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:sumitnegi933,项目名称:Moodle_lms_New,代码行数:11,代码来源:submission_viewed.php

示例7: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $submission = $this->get_record_snapshot('sepl_submission', $this->objectid);
     $this->set_legacy_logdata('submit for grading', $this->sepl->format_submission_for_log($submission));
     return parent::get_legacy_logdata();
 }
开发者ID:krzpassrl,项目名称:SRL_Moodle_Baseline,代码行数:11,代码来源:assessable_submitted.php

示例8: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $user = $this->get_record_snapshot('user', $this->relateduserid);
     $a = array('id' => $user->id, 'fullname' => fullname($user), 'state' => $this->other['newstate']);
     $logmessage = get_string('setmarkingworkflowstateforlog', 'setask', $a);
     $this->set_legacy_logdata('set marking workflow state', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:krzpassrl,项目名称:SRL_Moodle_db,代码行数:13,代码来源:workflow_state_updated.php

示例9: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $this->set_legacy_logdata('grant extension', $this->relateduserid);
     return parent::get_legacy_logdata();
 }
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:10,代码来源:extension_granted.php

示例10: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $user = $this->get_record_snapshot('user', $this->relateduserid);
     $msg = get_string('viewgradingformforstudent', 'assign', array('id' => $user->id, 'fullname' => fullname($user)));
     $this->set_legacy_logdata('view grading form', $msg);
     return parent::get_legacy_logdata();
 }
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:12,代码来源:grading_form_viewed.php

示例11: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $grade = $this->get_record_snapshot('assign_grades', $this->objectid);
     $this->set_legacy_logdata('grade submission', $this->assign->format_grade_for_log($grade));
     return parent::get_legacy_logdata();
 }
开发者ID:sumitnegi933,项目名称:Moodle_lms_New,代码行数:11,代码来源:submission_graded.php

示例12: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $submission = $this->get_record_snapshot('assign_submission', $this->objectid);
     $this->set_legacy_logdata('submissioncopied', $this->assign->format_submission_for_log($submission));
     return parent::get_legacy_logdata();
 }
开发者ID:sumitnegi933,项目名称:Moodle_lms_New,代码行数:11,代码来源:submission_duplicated.php

示例13: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     $user = $this->get_record_snapshot('user', $this->relateduserid);
     $logmessage = get_string('locksubmissionforstudent', 'assign', array('id' => $user->id, 'fullname' => fullname($user)));
     $this->set_legacy_logdata('lock submission', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:12,代码来源:submission_locked.php

示例14: get_legacy_logdata

 /**
  * Return legacy data for add_to_log().
  *
  * @return array
  */
 protected function get_legacy_logdata()
 {
     global $USER;
     $logmessage = get_string('submissionstatementacceptedlog', 'mod_assign', fullname($USER));
     // Nasty hack.
     $this->set_legacy_logdata('submission statement accepted', $logmessage);
     return parent::get_legacy_logdata();
 }
开发者ID:pzhu2004,项目名称:moodle,代码行数:13,代码来源:statement_accepted.php


注:本文中的base::get_legacy_logdata方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。