CoreFiles by mySites.guru
ItemModelInterface.php31 lines, 575 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
115cf24c92b9a59ca15408375135dfd7
sha1
a33f879421d279357fb8f615cf3672163e375442
sha256
a4444b68d93d0ccf4808a51ac0df15f26bc295772f197a8c696d7604005a5ab5
<?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 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 5 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha11. See them all, or every version of this file.