backup.php : some little PHPDoc

SVN:trunk[5660]
This commit is contained in:
Pierre Goiffon
2018-04-13 10:09:31 +00:00
parent de54575e04
commit d7fc003216

View File

@@ -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;