openstamanager/lib/deprecated.php

20 lines
384 B
PHP
Raw Normal View History

<?php
2017-12-22 12:11:01 +01:00
// trigger_error(tr('Funzione deprecata!'), E_USER_DEPRECATED);
/**
* Individua il codice successivo.
*
* @deprecated 2.4
*
* @param string $str
2018-06-26 14:30:26 +02:00
* @param int $qty
* @param string $mask
*/
function get_next_code($str, $qty = 1, $mask = '')
{
trigger_error(tr('Funzione deprecata!'), E_USER_DEPRECATED);
return Util\Generator::generate($mask, $str, $qty);
}