Actions

API17

Difference between revisions of "JRegistry::getValue"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::getValue|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::getValue|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry->getValue ($path, $default=null)
+
public function getValue (
 +
        $path
 +
        $default=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed Value of entry or null
mixed Value of entry or null
+
* '''Defined''' on line 472 of libraries/joomla/registry/registry.php
===Defined in===
+
libraries/joomla/registry/registry.php
+
===Referenced by===
+
 
===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>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::getValue|Other versions of this method]]
+
{{SeeAlso:JRegistry::getValue}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 50: 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

Replacement filing cabinet.png
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.

Joomla 11.1 JRegistry::getValue

Description

Get a registry value.

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

SeeAlso:JRegistry::getValue [Edit See Also]

User contributed notes

<CodeExamplesForm />