Conditions | 4 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
30 | public static function isAllowPrint($reqType = self::REQ_TYPE_GET,$pType = self::PRINT_PRETTY){ |
||
31 | if($pType == self::PRINT_PRETTY){ |
||
32 | return true; |
||
33 | } |
||
34 | |||
35 | if($pType == self::PRINT_SILENT){ |
||
36 | if($reqType == self::REQ_TYPE_DELETE){ |
||
37 | return false; |
||
38 | } |
||
39 | } |
||
40 | |||
41 | return true; |
||
42 | } |
||
43 | } |