Actions

API17

Difference between revisions of "JDaemon::loadConfiguration"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 2: Line 2:
 
=={{JVer|11.1}} JDaemon::loadConfiguration==
 
=={{JVer|11.1}} JDaemon::loadConfiguration==
 
===Description===
 
===Description===
Load the configuration file into the site object.  
+
Load an object or array into the application configuration object.  
  
 
{{Description:JDaemon::loadConfiguration}}
 
{{Description:JDaemon::loadConfiguration}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDaemon::loadConfiguration|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDaemon::loadConfiguration|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JDaemon::loadConfiguration ($file)
+
public function loadConfiguration ($data)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 21: Line 18:
 
!Description
 
!Description
 
|-
 
|-
|$file
+
|$data
|string
+
|mixed
 
|
 
|
|The path to the configuration file.
+
|Either an array or object to be loaded into the configuration object.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' void
bool True on success.
+
* '''Defined''' on line 197 of libraries/joomla/application/cli/daemon.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/cli/daemon.php (line 442)
+
* see source code in [[jplatform:application/cli/daemon.php#cl-442|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDaemon::loadConfiguration source code''' on [[jplatform:application/cli/daemon.php#cl-189|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDaemon/11.1|JDaemon]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
 +
* [[JDaemon::loadConfiguration|Other versions of JDaemon::loadConfiguration]]
 +
{{SeeAlso:JDaemon::loadConfiguration}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDaemon::loadConfiguration|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDaemon::loadConfiguration|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDaemon/11.1|JDaemon]]
+
===User contributed notes===
* [[JDaemon::loadConfiguration|Other versions of this method]]
+
{{SeeAlso:JDaemon::loadConfiguration}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDaemon]][[Category:JDaemon::loadConfiguration]]</noinclude>
 
<noinclude>[[Category:JDaemon]][[Category:JDaemon::loadConfiguration]]</noinclude>

Revision as of 19:24, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JDaemon::loadConfiguration

Description

Load an object or array into the application configuration object.

Description:JDaemon::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.
  • Returns void
  • Defined on line 197 of libraries/joomla/application/cli/daemon.php
  • Since Joomla 11.1

See also

SeeAlso:JDaemon::loadConfiguration [Edit See Also]

User contributed notes

<CodeExamplesForm />