Difference between revisions of "JRegistry::set"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Set a registry value. | Set a registry value. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function set ( |
+ | $path | ||
+ | $value | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed The value of the that has been set. | |
− | mixed The value of the that has been set. | + | * '''Defined''' on line 277 of libraries/joomla/registry/registry.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/registry/registry.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JRegistry::set source code''' on [[jplatform:registry/registry.php#cl-269|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]] | |
− | * | + | * [[API17:JRegistry::set|Other versions of JRegistry::set]] |
− | * [[JRegistry::set|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistry::set | category=JRegistry::set | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:34, 24 March 2017
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::set[edit]
Description[edit]
Set a registry value.
public function set (
$path
$value
)
Parameter | Type | Default | Description |
---|---|---|---|
$path | string | Registry Path (e.g. joomla.content.showauthor) | |
$value | mixed | Value of entry |
- Returns mixed The value of the that has been set.
- Defined on line 277 of libraries/joomla/registry/registry.php
- Since
See also[edit]
- JRegistry::set source code on BitBucket
- Class JRegistry
- Subpackage Registry
- Other versions of JRegistry::set
User contributed notes[edit]
Code Examples[edit]