This commit is contained in:
Laurent Destailleur
2012-03-13 09:38:00 +01:00
parent 4f23be1b50
commit 66bad9ea04
29 changed files with 198 additions and 132 deletions

View File

@@ -76,7 +76,8 @@ class modPhpbarcode extends ModeleBarCode
/**
* Return true if encodinf is supported
*
* @return int >0 if supported, 0 if not
* @param string $encoding Encoding norm
* @return int >0 if supported, 0 if not
*/
function encodingIsSupported($encoding)
{
@@ -104,6 +105,7 @@ class modPhpbarcode extends ModeleBarCode
* @param string $code Value to encode
* @param string $encoding Mode of encoding
* @param string $readable Code can be read
* @return int <0 if KO, >0 if OK
*/
function buildBarCode($code,$encoding,$readable='Y')
{
@@ -142,6 +144,7 @@ class modPhpbarcode extends ModeleBarCode
* @param string $code Value to encode
* @param string $encoding Mode of encoding
* @param string $readable Code can be read
* @return int <0 if KO, >0 if OK
*/
function writeBarCode($code,$encoding,$readable='Y')
{