Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

   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  #[\AllowDynamicProperties]
  15  class ResourceLinkShare
  16  {
  17  
  18  /**
  19   * Consumer key value.
  20   *
  21   * @var string $consumerKey
  22   */
  23      public $consumerKey = null;
  24  /**
  25   * Resource link ID value.
  26   *
  27   * @var string $resourceLinkId
  28   */
  29      public $resourceLinkId = null;
  30  /**
  31   * Title of sharing context.
  32   *
  33   * @var string $title
  34   */
  35      public $title = null;
  36  /**
  37   * Whether sharing request is to be automatically approved on first use.
  38   *
  39   * @var boolean $approved
  40   */
  41      public $approved = null;
  42  
  43  /**
  44   * Class constructor.
  45   */
  46      public function __construct()
  47      {
  48      }
  49  
  50  }