API17

Difference between revisions of "JLog::setInstance"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎See also: moving preparation)
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLog::setInstance|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLog::setInstance|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLog::setInstance ($instance)
+
public static function setInstance ($instance)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 263 of libraries/joomla/log/log.php
===Defined in===
 
libraries/joomla/log/log.php
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JLog::setInstance source code''' on [[jplatform:log/log.php#cl-255|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JLog|JLog]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Log|Log]]
 +
* [[API17:JLog::setInstance|Other versions of JLog::setInstance]]
 +
{{SeeAlso:JLog::setInstance}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLog::setInstance|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLog::setInstance|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JLog/11.1|JLog]]
+
===User contributed notes===
* [[JLog::setInstance|Other versions of this method]]
 
{{SeeAlso:JLog::setInstance}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 45: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLog]][[Category:JLog::setInstance]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:08, 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.

Joomla 11.1 JLog::setInstance[edit]

Description[edit]

Returns a reference to the a object, only creating it if it doesn't already exist.

Template:Description:JLog::setInstance [Edit Descripton]

public static function setInstance ($instance)
Parameter Type Default Description
$instance
  • Returns
  • Defined on line 263 of libraries/joomla/log/log.php

See also[edit]

Template:SeeAlso:JLog::setInstance [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />