API17:JModelAdmin::getItem
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JModelAdmin::getItem|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JModelAdmin::getItem|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function getItem ($pk=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed Object on success, false on failure. | |
| − | mixed Object on success, false on failure. | + | * '''Defined''' on line 273 of libraries/joomla/application/component/modeladmin.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/application/component/modeladmin.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JModelAdmin::getItem source code''' on [[jplatform:application/component/modeladmin.php#cl-265|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JModelAdmin/11.1|JModelAdmin]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
| + | * [[JModelAdmin::getItem|Other versions of JModelAdmin::getItem]] | ||
| + | {{SeeAlso:JModelAdmin::getItem}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JModelAdmin::getItem|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JModelAdmin::getItem|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JModelAdmin]][[Category:JModelAdmin::getItem]]</noinclude> | <noinclude>[[Category:JModelAdmin]][[Category:JModelAdmin::getItem]]</noinclude> | ||
Revision as of 21:23, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JModelAdmin::getItem
Description
Method to get a single record.
Description:JModelAdmin::getItem [Edit Descripton]
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
See also
-
JModelAdmin::getItem source code on BitBucket
-
Class JModelAdmin
-
Subpackage Application
- Other versions of JModelAdmin::getItem
SeeAlso:JModelAdmin::getItem [Edit See Also]
User contributed notes
<CodeExamplesForm />
