CoreFiles by mySites.guru
FormModelInterface.php33 lines, 715 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
f74ef03de3b0e51eb0402cd6c8502dfa
sha1
ef3f2ab96bc4b85f462b53f6dea9041df80a33d5
sha256
b4473fffb99e29e63c35771c21f3da351ec5db6cd2895b0c965256ee79b2203e
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\MVC\Model;

defined('JPATH_PLATFORM') or die;

/**
 * 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.0.0-alpha7 to 4.0.0-alpha11. See them all, or every version of this file.