API17:JCli::loadConfiguration
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user 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 [[JCli/11.1|JCli]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
| + | * [[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 47: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JCli]][[Category:JCli::loadConfiguration]]</noinclude> | <noinclude>[[Category:JCli]][[Category:JCli::loadConfiguration]]</noinclude> | ||
Revision as of 20:20, 27 April 2011
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.
JCli::loadConfiguration
Description
Load an object or array into the application configuration object.
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
-
JCli::loadConfiguration source code on BitBucket
-
Class JCli
-
Subpackage Application
- Other versions of JCli::loadConfiguration
SeeAlso:JCli::loadConfiguration [Edit See Also]
User contributed notes
<CodeExamplesForm />
