API17

Difference between revisions of "JLoggerFormattedText"

From Joomla! Documentation

m (→‎User contributed notes: bad link repair)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JLoggerFormattedText==
 
=={{JVer|11.1}} JLoggerFormattedText==
 
===Description===
 
===Description===
{{Description:JLoggerFormattedText}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLoggerFormattedText|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 14: Line 12:
 
|-
 
|-
 
|public  
 
|public  
|[[JLoggerFormattedText::__construct/11.1|__construct]]
+
|[[API17:JLoggerFormattedText::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JLoggerFormattedText::__destruct/11.1|__destruct]]
+
|[[API17:JLoggerFormattedText::__destruct|__destruct]]
 
|Destructor.  
 
|Destructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JLoggerFormattedText::addEntry/11.1|addEntry]]
+
|[[API17:JLoggerFormattedText::addEntry|addEntry]]
 
|Method to add an entry to the log.  
 
|Method to add an entry to the log.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JLoggerFormattedText::generateFileHeader/11.1|generateFileHeader]]
+
|[[API17:JLoggerFormattedText::generateFileHeader|generateFileHeader]]
 
|Method to generate the log file header.  
 
|Method to generate the log file header.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JLoggerFormattedText::initFile/11.1|initFile]]
+
|[[API17:JLoggerFormattedText::initFile|initFile]]
 
|Method to initialise the log file.  
 
|Method to initialise the log file.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JLoggerFormattedText::parseFields/11.1|parseFields]]
+
|[[API17:JLoggerFormattedText::parseFields|parseFields]]
 
|Method to parse the format string into an array of fields.  
 
|Method to parse the format string into an array of fields.  
 
|-
 
|-
 
|}
 
|}
 
* '''Defined in''' libraries/joomla/log/loggers/formattedtext.php
 
* '''Defined in''' libraries/joomla/log/loggers/formattedtext.php
* '''Extends''' [[JLogger/11.1|JLogger]]
+
* '''Extends''' [[API17:JLogger|JLogger]]
 
* '''Extended by'''
 
* '''Extended by'''
** [[JLoggerW3C/11.1|JLoggerW3C]]
+
** [[API17:JLoggerW3C|JLoggerW3C]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.log.loggers.formattedtext' );</source>
 
<source lang="php">jimport( 'joomla.log.loggers.formattedtext' );</source>
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JLoggerFormattedText source code''' on [[jplatform:log/loggers/formattedtext.php|BitBucket]]
 
* {{JVer|11.1}} '''JLoggerFormattedText source code''' on [[jplatform:log/loggers/formattedtext.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Log/11.1|Log]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Log|Log]]
* [[JLoggerFormattedText|Other versions of JLoggerFormattedText]]
+
* [[API17:JLoggerFormattedText|Other versions of JLoggerFormattedText]]
{{SeeAlso:JLoggerFormattedText}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JLoggerFormattedText|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLoggerFormattedText
 
category=JLoggerFormattedText
category=CodeExample
+
namespace=CodeExample
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
Line 63: Line 59:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JLoggerFormattedText]]</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 JLoggerFormattedText[edit]

Description[edit]

Methods[edit]

Visibility Method name Description
public __construct Constructor.
public __destruct Destructor.
public addEntry Method to add an entry to the log.
protected generateFileHeader Method to generate the log file header.
protected initFile Method to initialise the log file.
protected parseFields Method to parse the format string into an array of fields.
  • Defined in libraries/joomla/log/loggers/formattedtext.php
  • Extends JLogger
  • Extended by

Importing[edit]

jimport( 'joomla.log.loggers.formattedtext' );

See also[edit]


User contributed notes[edit]

Code Examples[edit]