CoreFiles by mySites.guru
FormModelInterface.php35 lines, 730 bytes, from Joomla_4.0.4-Stable-Full_Package.zip
Raw History Compare with 4.0.3
md5
2f4c7d355f8cbc31058c4d1f672f59e9
sha1
d007f81c731acf4424157a4c0d70e51d9f90b9ea
sha256
6f72848521a70e8691b45872b06e1a87b7789f6ebebf4f0fe3a3d842eb353a80
<?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;

\defined('JPATH_PLATFORM') or die;

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 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.