CoreFiles by mySites.guru
ItemModelInterface.php31 lines, 563 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
d5ae9af0bcddf88b59f84cbe8b7f4825
sha1
9ad8a4fd054ea766c607c09e77d3611f26729b90
sha256
486895f90965e2cf2bd7ab9a87d2db929218cc989f36177005e424d7864bb381
<?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;

/**
 * Interface for an item model.
 *
 * @since  4.0.0
 */
interface ItemModelInterface
{
	/**
	 * Method to get an item.
	 *
	 * @param   integer  $pk  The id of the item
	 *
	 * @return  object
	 *
	 * @since 4.0.0
	 * @throws \Exception
	 */
	public function getItem($pk = null);
}

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.