[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Document/Opensearch/ -> OpensearchImage.php (source)

   1  <?php
   2  
   3  /**
   4   * Joomla! Content Management System
   5   *
   6   * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   7   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   8   */
   9  
  10  namespace Joomla\CMS\Document\Opensearch;
  11  
  12  // phpcs:disable PSR1.Files.SideEffects
  13  \defined('JPATH_PLATFORM') or die;
  14  // phpcs:enable PSR1.Files.SideEffects
  15  
  16  /**
  17   * Data object representing an OpenSearch image
  18   *
  19   * @since  1.7.0
  20   */
  21  class OpensearchImage
  22  {
  23      /**
  24       * The images MIME type
  25       *
  26       * required
  27       *
  28       * @var    string
  29       * @since  1.7.0
  30       */
  31      public $type = '';
  32  
  33      /**
  34       * URL of the image or the image as base64 encoded value
  35       *
  36       * required
  37       *
  38       * @var    string
  39       * @since  1.7.0
  40       */
  41      public $data = '';
  42  
  43      /**
  44       * The image's width
  45       *
  46       * required
  47       *
  48       * @var    string
  49       * @since  1.7.0
  50       */
  51      public $width;
  52  
  53      /**
  54       * The image's height
  55       *
  56       * required
  57       *
  58       * @var    string
  59       * @since  1.7.0
  60       */
  61      public $height;
  62  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer