API17

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.  
  
{{Description:JRegistry::set}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JRegistry::set|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry::set ($path, $value)
+
public function set (
 +
        $path
 +
        $value
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 30:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 277)
 
* see source code in [[jplatform:registry/registry.php#cl-277|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JRegistry::set source code''' on [[jplatform:registry/registry.php#cl-269|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JRegistry::set|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* [[JRegistry/11.1|JRegistry]]
+
* [[API17:JRegistry::set|Other versions of JRegistry::set]]
* [[JRegistry::set|Other versions of this method]]
+
 
{{SeeAlso:JRegistry::set}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JRegistry::set
 
category=JRegistry::set
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRegistry]][[Category:JRegistry::set]]</noinclude>
+
<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.

Joomla 11.1 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 Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]