Difference between revisions of "JRegistry::getValue"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRegistry::getValue|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRegistry::getValue|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getValue ( |
+ | $path | ||
+ | $default=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed Value of entry or null | |
− | mixed Value of entry or null | + | * '''Defined''' on line 472 of libraries/joomla/registry/registry.php |
− | |||
− | libraries/joomla/registry/registry.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JRegistry::getValue source code''' on [[jplatform:registry/registry.php#cl-464|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]] | ||
+ | * [[JRegistry::getValue|Other versions of JRegistry::getValue]] | ||
+ | {{SeeAlso:JRegistry::getValue}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRegistry::getValue|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRegistry::getValue|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 51: | Line 51: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JRegistry]][[Category:JRegistry::getValue]]</noinclude> | <noinclude>[[Category:JRegistry]][[Category:JRegistry::getValue]]</noinclude> |
Revision as of 21:30, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRegistry::getValue[edit]
Description[edit]
Get a registry value.
Template:Description:JRegistry::getValue [Edit Descripton]
public function getValue (
$path
$default=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$path | string | Registry path (e.g. joomla.content.showauthor) | |
$default | mixed | null | Optional default value |
- Returns mixed Value of entry or null
- Defined on line 472 of libraries/joomla/registry/registry.php
See also[edit]
- JRegistry::getValue source code on BitBucket
- Class JRegistry
- Subpackage Registry
- Other versions of JRegistry::getValue
Template:SeeAlso:JRegistry::getValue [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />