Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is 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  }