OXID eShop CE
4.8.10
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
oxsystemeventhandler.php
Go to the documentation of this file.
1
<?php
2
6
class
OxSystemEventHandler
7
{
11
private
$_oOMVN
= null;
12
13
19
public
function
setOMVN
($oOMVN)
20
{
21
$this->_oOMVN = $oOMVN;
22
}
23
29
public
function
getOMVN
()
30
{
31
if
(!$this->_oOMVN) {
32
$oOMVN =
oxNew
(
"oxOnlineModuleVersionNotifier"
);
33
$this->
setOMVN
( $oOMVN );
34
}
35
36
return
$this->_oOMVN
;
37
}
38
44
public
function
onAdminLogin
( $sActiveShop )
45
{
46
47
//Checks if newer versions of modules are available.
48
//Will be used by the upcoming online one click installer.
49
//Is still under development - still changes at the remote server are necessary - therefore ignoring the results for now
50
try
{
51
$this->
getOMVN
()->versionNotify();
52
}
catch
(
Exception
$o) { }
53
}
54
}
core
oxsystemeventhandler.php
Generated by
1.8.1.2