API17

Difference between revisions of "JRegistry::setValue"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎See also: moving preparation)
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::setValue|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::setValue|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry->setValue ($path, $value)
+
public function setValue (
 +
        $path
 +
        $value
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed The value after setting.
mixed The value after setting.
+
* '''Defined''' on line 490 of libraries/joomla/registry/registry.php
===Defined in===
 
libraries/joomla/registry/registry.php
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistry::setValue source code''' on [[jplatform:registry/registry.php#cl-482|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
 +
* [[API17:JRegistry::setValue|Other versions of JRegistry::setValue]]
 +
{{SeeAlso:JRegistry::setValue}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::setValue|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::setValue|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::setValue|Other versions of this method]]
 
{{SeeAlso:JRegistry::setValue}}
 
===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::setValue]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:22, 11 May 2013

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.

Joomla 11.1 JRegistry::setValue[edit]

Description[edit]

Set a registry value.

Template:Description:JRegistry::setValue [Edit Descripton]

public function setValue (
        $path
        $value
)
Parameter Type Default Description
$path string Registry Path (e.g. joomla.content.showauthor)
$value mixed Value of entry
  • Returns mixed The value after setting.
  • Defined on line 490 of libraries/joomla/registry/registry.php

See also[edit]

Template:SeeAlso:JRegistry::setValue [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />