API17

Difference between revisions of "JLogEntry:: construct"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Constructor.  
 
Constructor.  
  
{{Description:JLogEntry::__construct}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLogEntry::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function __construct (
 
public function __construct (
Line 49: Line 47:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JLogEntry::__construct source code''' on [[jplatform:log/logentry.php#cl-71|BitBucket]]
 
* {{JVer|11.1}} '''JLogEntry::__construct source code''' on [[jplatform:log/logentry.php#cl-71|BitBucket]]
* {{JVer|11.1}} Class [[JLogEntry/11.1|JLogEntry]]
+
* {{JVer|11.1}} Class [[API17:JLogEntry|JLogEntry]]
* {{JVer|11.1}} Subpackage [[Subpackage_Log/11.1|Log]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Log|Log]]
* [[JLogEntry::__construct|Other versions of JLogEntry::__construct]]
+
* [[API17:JLogEntry::__construct|Other versions of JLogEntry::__construct]]
{{SeeAlso:JLogEntry::__construct}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JLogEntry::__construct|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLogEntry::__construct
 
category=JLogEntry::__construct
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 67: Line 63:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLogEntry]][[Category:JLogEntry::__construct]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:24, 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 JLogEntry::__construct[edit]

Description[edit]

Constructor.


public function __construct (
        $message
        $priority=JLog::INFO
        $category= ''
        $date=null
)
Parameter Type Default Description
$message string The message to log.
$priority string JLog::INFO Message priority based on {$this->_priorities}.
$category string Type of entry
$date string null Date of entry (defaults to now if not specified or blank)
  • Returns void
  • Defined on line 79 of libraries/joomla/log/logentry.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]