mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
backup.php : some little PHPDoc
SVN:trunk[5660]
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// Copyright (C) 2014-2017 Combodo SARL
|
// Copyright (C) 2014-2018 Combodo SARL
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// This program is free software; you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
||||||
@@ -28,6 +28,9 @@ require_once(APPROOT.'application/startup.inc.php');
|
|||||||
|
|
||||||
class MyDBBackup extends DBBackup
|
class MyDBBackup extends DBBackup
|
||||||
{
|
{
|
||||||
|
/** @var Page used to send log */
|
||||||
|
protected $oPage;
|
||||||
|
|
||||||
protected function LogInfo($sMsg)
|
protected function LogInfo($sMsg)
|
||||||
{
|
{
|
||||||
$this->oPage->p($sMsg);
|
$this->oPage->p($sMsg);
|
||||||
@@ -39,7 +42,6 @@ class MyDBBackup extends DBBackup
|
|||||||
ToolsLog::Error($sMsg);
|
ToolsLog::Error($sMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected $oPage;
|
|
||||||
public function __construct($oPage)
|
public function __construct($oPage)
|
||||||
{
|
{
|
||||||
$this->oPage = $oPage;
|
$this->oPage = $oPage;
|
||||||
|
|||||||
Reference in New Issue
Block a user