Difference between revisions of "JLoggerDatabase"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (moving preparation) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JLoggerDatabase== | ||
+ | ===Description=== | ||
+ | {{Description:JLoggerDatabase}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JLoggerDatabase|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JLoggerDatabase|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JLoggerDatabase::__construct | + | |public |
+ | |[[API17:JLoggerDatabase::__construct|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
− | |[[JLoggerDatabase::addEntry | + | |public |
+ | |[[API17:JLoggerDatabase::addEntry|addEntry]] | ||
|Method to add an entry to the log. | |Method to add an entry to the log. | ||
|- | |- | ||
− | |[[JLoggerDatabase::connect | + | |protected |
+ | |[[API17:JLoggerDatabase::connect|connect]] | ||
|Method to connect to the database server based on object properties. | |Method to connect to the database server based on object properties. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/log/loggers/database.php | ||
+ | * '''Extends''' [[API17:JLogger|JLogger]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.log.loggers.database' );</source> | <source lang="php">jimport( 'joomla.log.loggers.database' );</source> | ||
===See also=== | ===See also=== | ||
− | * [[JLoggerDatabase|Other versions of | + | * {{JVer|11.1}} '''JLoggerDatabase source code''' on [[jplatform:log/loggers/database.php|BitBucket]] |
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Log|Log]] | ||
+ | * [[API17:JLoggerDatabase|Other versions of JLoggerDatabase]] | ||
{{SeeAlso:JLoggerDatabase}} | {{SeeAlso:JLoggerDatabase}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JLoggerDatabase|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JLoggerDatabase|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 43: | Line 46: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:09, 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.
JLoggerDatabase[edit]
Description[edit]
Template:Description:JLoggerDatabase [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | addEntry | Method to add an entry to the log. |
protected | connect | Method to connect to the database server based on object properties. |
- Defined in libraries/joomla/log/loggers/database.php
- Extends JLogger
Importing[edit]
jimport( 'joomla.log.loggers.database' );
See also[edit]
- JLoggerDatabase source code on BitBucket
- Subpackage Log
- Other versions of JLoggerDatabase
Template:SeeAlso:JLoggerDatabase [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />