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.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

   1  <?php
   2  
   3  namespace IMSGlobal\LTI\ToolProvider;
   4  
   5  /**
   6   * Class to represent a tool consumer resource link share
   7   *
   8   * @author  Stephen P Vickers <svickers@imsglobal.org>
   9   * @copyright  IMS Global Learning Consortium Inc
  10   * @date  2016
  11   * @version 3.0.0
  12   * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
  13   */
  14  class ResourceLinkShare
  15  {
  16  
  17  /**
  18   * Consumer key value.
  19   *
  20   * @var string $consumerKey
  21   */
  22      public $consumerKey = null;
  23  /**
  24   * Resource link ID value.
  25   *
  26   * @var string $resourceLinkId
  27   */
  28      public $resourceLinkId = null;
  29  /**
  30   * Title of sharing context.
  31   *
  32   * @var string $title
  33   */
  34      public $title = null;
  35  /**
  36   * Whether sharing request is to be automatically approved on first use.
  37   *
  38   * @var boolean $approved
  39   */
  40      public $approved = null;
  41  
  42  /**
  43   * Class constructor.
  44   */
  45      public function __construct()
  46      {
  47      }
  48  
  49  }