1 | <?php |
||
5 | class Ptg |
||
6 | { |
||
7 | /** |
||
8 | * @var null|array |
||
9 | */ |
||
10 | protected static $ptgs = null; |
||
11 | |||
12 | /** |
||
13 | * @param $ptg |
||
14 | * |
||
15 | * @return bool |
||
16 | */ |
||
17 | public static function exists($ptg) |
||
23 | |||
24 | /** |
||
25 | * @param $ptg |
||
26 | * |
||
27 | * @return bool |
||
28 | */ |
||
29 | public static function get($ptg) |
||
35 | |||
36 | /** |
||
37 | * |
||
38 | */ |
||
39 | protected static function cache() |
||
45 | |||
46 | /** |
||
47 | * @return array |
||
48 | */ |
||
49 | public static function getAll() |
||
145 | } |
||
146 |