-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathBarcodeTypes.php
41 lines (39 loc) · 903 Bytes
/
BarcodeTypes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
namespace Mopa\Bundle\BarcodeBundle\Model;
/**
* Class BarcodeTypes
* @package Mopa\Bundle\BarcodeBundle\Model
*/
class BarcodeTypes{
/**
* Barcode Types
* Zend_Barcode::factory will try to get the renderer, (numeric)
* If none is found local additional renderes will be tryed
*/
protected static $types = array(
1 => "codabar",
2 => "code128",
3 => "code25",
4 => "code25interleaved",
5 => "code39",
6 => "ean13",
7 => "ean2",
8 => "ean5",
9 => "ean8",
10 => "identcode",
11 => "itf14",
12 => "leitcode",
13 => "planet",
14 => "postnet",
15 => "royalmail",
16 => "upca",
17 => "upce",
'qr' => "qr",
);
/**
* @return array
*/
public static function getTypes(){
return self::$types;
}
}