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


PHP backup_general_helper::array_checksum_recursive方法代码示例

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


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

示例1: calculate_checksum

 public function calculate_checksum()
 {
     // Let's do it using name and tasks (settings are part of tasks)
     return md5($this->name . '-' . backup_general_helper::array_checksum_recursive($this->tasks));
 }
开发者ID:bobpuffer,项目名称:moodleUCLA-LUTH,代码行数:5,代码来源:base_plan.class.php

示例2: calculate_checksum

 public function calculate_checksum()
 {
     // Reset current checksum to take it out from calculations!
     $this->checksum = '';
     // Init checksum
     $tempchecksum = md5('backupid-' . $this->backupid . 'type-' . $this->type . 'id-' . $this->id . 'format-' . $this->format . 'interactive-' . $this->interactive . 'mode-' . $this->mode . 'userid-' . $this->userid . 'operation-' . $this->operation . 'status-' . $this->status . 'execution-' . $this->execution . 'plan-' . backup_general_helper::array_checksum_recursive(array($this->plan)) . 'destination-' . backup_general_helper::array_checksum_recursive(array($this->destination)) . 'logger-' . backup_general_helper::array_checksum_recursive(array($this->logger)));
     $this->log('calculating controller checksum', backup::LOG_DEBUG, $tempchecksum);
     return $tempchecksum;
 }
开发者ID:evltuma,项目名称:moodle,代码行数:9,代码来源:backup_controller.class.php

示例3: calculate_checksum

 public function calculate_checksum()
 {
     // Let's do it using name and settings and steps
     return md5($this->name . '-' . backup_general_helper::array_checksum_recursive($this->settings) . backup_general_helper::array_checksum_recursive($this->steps));
 }
开发者ID:vuchannguyen,项目名称:web,代码行数:5,代码来源:base_task.class.php


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