Back to ItemModelInterface class

Method getItem

public object
getItem
(mixed $pk = null)
Method to get an item.
Parameters
  • int $pk The id of the item
Returns
  • object
Since
  • 4.0.0
-
  • \Exception

Method getItem - Source code

/**
 * 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);
OSZAR »