Difference between revisions of "JCli::loadConfiguration"
From Joomla! Documentation
(Layout updates) |
m (→See also: moving preparation) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JCli::loadConfiguration== | =={{JVer|11.1}} JCli::loadConfiguration== | ||
===Description=== | ===Description=== | ||
− | Load the configuration | + | Load an object or array into the application configuration object. |
{{Description:JCli::loadConfiguration}} | {{Description:JCli::loadConfiguration}} | ||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCli::loadConfiguration|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCli::loadConfiguration|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | + | public function loadConfiguration ($data) | |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 21: | Line 18: | ||
!Description | !Description | ||
|- | |- | ||
− | |$ | + | |$data |
− | | | + | |mixed |
| | | | ||
− | | | + | |Either an array or object to be loaded into the configuration object. |
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' void | |
− | + | * '''Defined''' on line 131 of libraries/joomla/application/cli.php | |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/cli.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JCli::loadConfiguration source code''' on [[jplatform:application/cli.php#cl-123|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JCli|JCli]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
+ | * [[API17:JCli::loadConfiguration|Other versions of JCli::loadConfiguration]] | ||
+ | {{SeeAlso:JCli::loadConfiguration}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCli::loadConfiguration|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCli::loadConfiguration|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 19:56, 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.
JCli::loadConfiguration[edit]
Description[edit]
Load an object or array into the application configuration object.
Template:Description:JCli::loadConfiguration [Edit Descripton]
public function loadConfiguration ($data)
Parameter | Type | Default | Description |
---|---|---|---|
$data | mixed | Either an array or object to be loaded into the configuration object. |
See also[edit]
- JCli::loadConfiguration source code on BitBucket
- Class JCli
- Subpackage Application
- Other versions of JCli::loadConfiguration
Template:SeeAlso:JCli::loadConfiguration [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />