CoreFiles by mySites.guru
OpensearchImage.php62 lines, 1,053 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
f398bd22308a002a99a4449a23c516c6
sha1
8f1bd44a8cfe681384d0f6e65dc6e8f69b990ba5
sha256
427e1feaf63644e4f989b9ff203bae2baaed984051afc57fb882840f744c7491
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Document\Opensearch;

// phpcs:disable PSR1.Files.SideEffects
\defined('JPATH_PLATFORM') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Data object representing an OpenSearch image
 *
 * @since  1.7.0
 */
class OpensearchImage
{
    /**
     * The images MIME type
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $type = '';

    /**
     * URL of the image or the image as base64 encoded value
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $data = '';

    /**
     * The image's width
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $width;

    /**
     * The image's height
     *
     * required
     *
     * @var    string
     * @since  1.7.0
     */
    public $height;
}

The same content is in 70 releases, Joomla 4.2.1 to 4.4.14. See them all, or every version of this file.