Go to the documentation of this file.00001 <?php
00002
00006 class OxSystemEventHandler
00007 {
00011 private $_oOMVN = null;
00012
00013
00019 public function setOMVN($oOMVN)
00020 {
00021 $this->_oOMVN = $oOMVN;
00022 }
00023
00029 public function getOMVN()
00030 {
00031 if (!$this->_oOMVN) {
00032 $oOMVN = oxNew("oxOnlineModuleVersionNotifier");
00033 $this->setOMVN( $oOMVN );
00034 }
00035
00036 return $this->_oOMVN;
00037 }
00038
00044 public function onAdminLogin( $sActiveShop )
00045 {
00046
00047
00048
00049
00050 try {
00051 $this->getOMVN()->versionNotify();
00052 } catch (Exception $o) { }
00053 }
00054 }