XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
xoopslogger.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
30
class
XoopsLogger
31
{
38
public
static
function
getInstance
()
39
{
40
static
$instance;
41
if
(!isset($instance)) {
42
$class = __CLASS__;
43
$instance =
new
$class();
44
}
45
return
$instance;
46
}
47
53
private
function
deprecatedWarning
()
54
{
55
Xoops::getInstance
()->deprecated(
'XoopsLogger is deprecated since 2.6.0, see Xoops\\Core\\Logger'
);
56
}
57
67
public
function
__set
(
$var
, $val)
68
{
69
$this->
deprecatedWarning
();
70
}
71
80
public
function
__get
(
$var
)
81
{
82
$this->
deprecatedWarning
();
83
}
84
94
public
function
__call
($method, $args)
95
{
96
$this->
deprecatedWarning
();
97
}
98
}
Xoops\getInstance
static getInstance()
Definition:
Xoops.php:160
XoopsLogger\__call
__call($method, $args)
Definition:
xoopslogger.php:94
XoopsLogger\deprecatedWarning
deprecatedWarning()
Definition:
xoopslogger.php:53
XoopsLogger
Definition:
xoopslogger.php:30
XoopsLogger\__get
__get($var)
Definition:
xoopslogger.php:80
$var
$var
Definition:
userinfo.php:125
XoopsLogger\__set
__set($var, $val)
Definition:
xoopslogger.php:67
XoopsLogger\getInstance
static getInstance()
Definition:
xoopslogger.php:38
usr64
htdocs
class
logger
xoopslogger.php
Generated on Fri May 22 2015 03:07:00 for XOOPS by
1.8.9.1