Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
   1  <?php
   2  
   3  namespace PhpOffice\PhpSpreadsheet\Worksheet;
   4  
   5  class HeaderFooterDrawing extends Drawing
   6  {
   7      /**
   8       * Get hash code.
   9       *
  10       * @return string Hash code
  11       */
  12      public function getHashCode()
  13      {
  14          return md5(
  15              $this->getPath() .
  16              $this->name .
  17              $this->offsetX .
  18              $this->offsetY .
  19              $this->width .
  20              $this->height .
  21              __CLASS__
  22          );
  23      }
  24  }