ToutPratique 1d1a2def5f push prod
2016-05-17 15:54:37 +02:00

36 lines
566 B
PHP

<?php
/**
* warnings_class.php file defines method for detecting warnings and display
*/
class BT_OtprWarnings
{
/**
* var $sWarningMsg : stock warning message
*/
public $sWarningMsg = '';
/**
* run() method detect warnings and display them
*/
public function run()
{
// @TODO
$this->sWarningMsg = '';
}
/**
* run() method detect warnings and display them
*
* @return array
*/
public static function create()
{
static $oWarning;
if (null === $oWarning) {
$oWarning = new BT_OtprWarnings();
}
return $oWarning;
}
}