Difference between revisions of "JLogEntry:: construct"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JLogEntry::__construct|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JLogEntry::__construct|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function __construct ( |
+ | $message | ||
+ | $priority=JLog::INFO | ||
+ | $category= '' | ||
+ | $date=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 42: | Line 44: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' void | |
− | void | + | * '''Defined''' on line 79 of libraries/joomla/log/logentry.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/log/logentry.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{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}} Subpackage [[Subpackage_Log/11.1|Log]] | ||
+ | * [[JLogEntry::__construct|Other versions of JLogEntry::__construct]] | ||
+ | {{SeeAlso:JLogEntry::__construct}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JLogEntry::__construct|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JLogEntry::__construct|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 63: | Line 64: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JLogEntry]][[Category:JLogEntry::__construct]]</noinclude> | <noinclude>[[Category:JLogEntry]][[Category:JLogEntry::__construct]]</noinclude> |
Revision as of 21:20, 27 April 2011
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.
JLogEntry::__construct[edit]
Description[edit]
Constructor.
Template:Description:JLogEntry:: construct [Edit Descripton]
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) |
See also[edit]
- JLogEntry::__construct source code on BitBucket
- Class JLogEntry
- Subpackage Log
- Other versions of JLogEntry::__construct
Template:SeeAlso:JLogEntry:: construct [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />