| 1 | <?php |
||
| 32 | class DisplayModeKeys |
||
| 33 | { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Key for 'Products only'. |
||
| 37 | * |
||
| 38 | * @var integer |
||
| 39 | */ |
||
| 40 | const DISPLAY_MODE_PRODUCTS_ONLY = 'PRODUCTS'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Key for 'Static block only'. |
||
| 44 | * |
||
| 45 | * @var integer |
||
| 46 | */ |
||
| 47 | const DISPLAY_MODE_STATIC_BLOCK_ONLY = 'PAGE'; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Key for 'Static block and products'. |
||
| 51 | * |
||
| 52 | * @var integer |
||
| 53 | */ |
||
| 54 | const DISPLAY_MODE_BOTH = 'PRODUCTS_AND_PAGE'; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * This is a utility class, so protect it against direct |
||
| 58 | * instantiation. |
||
| 59 | */ |
||
| 60 | private function __construct() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * This is a utility class, so protect it against cloning. |
||
| 66 | * |
||
| 67 | * @return void |
||
| 68 | */ |
||
| 69 | private function __clone() |
||
| 72 | } |
||
| 73 |