Actions

API17

Difference between revisions of "JLogEntry:: construct"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JLogEntry::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLogEntry::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JLogEntry->__construct ($message, $priority=JLog::INFO, $category= '', $date=null)
+
public function __construct (
 +
        $message
 +
        $priority=JLog::INFO
 +
        $category= ''
 +
        $date=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 42: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' void
void
+
* '''Defined''' on line 79 of libraries/joomla/log/logentry.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/log/logentry.php
+
===Referenced by===
+
 
===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>
* [[JLogEntry/11.1|JLogEntry]]
+
===User contributed notes===
* [[JLogEntry::__construct|Other versions of this method]]
+
{{SeeAlso:JLogEntry::__construct}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 62: 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

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 JLogEntry::__construct

Description

Constructor.

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)
  • Returns void
  • Defined on line 79 of libraries/joomla/log/logentry.php
  • Since Joomla 11.1

See also

SeeAlso:JLogEntry:: construct [Edit See Also]

User contributed notes

<CodeExamplesForm />