Unzer/Modules/Core/Counter.php

32 lines
633 B
PHP
Raw Normal View History

<?php
namespace D3\Unzer\Modules\Core;
/**
*/
class Counter extends Counter_parent
{
/**
* Returns module specific counter suffix
*
* @return string
*/
protected function _getCounterSuffix()
{
$sCountId = $this->_getCountId();
if ($sCountId != 'd3unzer') {
return parent::_getCounterSuffix();
}
$sSuffixString = '';
$sActionId = $this->_getActionId();
if ($sActionId == "transactionid_ccdb" || $sActionId == "transactionid_otpa") {
return "__@@" . date("Y-m-d H:i:s");
}
return $sSuffixString;
}
}