API17

API17:JModelAdmin::getItem

From Joomla! Documentation

Joomla 11.1 JModelAdmin::getItem

Description

Method to get a single record.


public function getItem ($pk=null)
Parameter Type Default Description
$pk integer null The id of the primary key.
  • Returns mixed Object on success, false on failure.
  • Defined on line 273 of libraries/joomla/application/component/modeladmin.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples