CoreFiles by mySites.guru
FormModelInterface.php34 lines, 734 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
96dca8192d4c620d0ac6e26654a28c9b
sha1
90cc00715d36667b72a587ee97aa0998537f6287
sha256
f3bbbad3264fe7422c337d9ecab9a50b853eac1166f75e2e47bee09f41dbe5e4
<?php

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

namespace Joomla\CMS\MVC\Model;

use Joomla\CMS\Form\Form;

/**
 * Interface for a form model.
 *
 * @since  4.0.0
 */
interface FormModelInterface
{
    /**
     * Method for getting a form.
     *
     * @param   array    $data      Data for the form.
     * @param   boolean  $loadData  True if the form is to load its own data (default case), false if not.
     *
     * @return  Form
     *
     * @since   4.0.0
     *
     * @throws \Exception
     */
    public function getForm($data = array(), $loadData = true);
}

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.