CoreFiles by mySites.guru
BannerclientField.php42 lines, 894 bytes, from Joomla_4.2.1-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.1-rc1
md5
27a8e1b187b6e3e5140e84851170baba
sha1
4ce136f85db89a6fece62def6bea60db6aa79b68
sha256
e58a3b020abbe3a06dce7b6374509be624c5d41bba8ceea7f20b88a717714d5c
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_banners
 *
 * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Banners\Administrator\Field;

use Joomla\CMS\Form\Field\ListField;
use Joomla\Component\Banners\Administrator\Helper\BannersHelper;

/**
 * Bannerclient field.
 *
 * @since  1.6
 */
class BannerclientField extends ListField
{
    /**
     * The form field type.
     *
     * @var    string
     * @since  1.6
     */
    protected $type = 'BannerClient';

    /**
     * Method to get the field options.
     *
     * @return  array  The field option objects.
     *
     * @since   1.6
     */
    public function getOptions()
    {
        return array_merge(parent::getOptions(), BannersHelper::getClientOptions());
    }
}

The same content is in 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.