Completed
Push — master ( bc86b1...e5b919 )
by Tim
10s
created

SqlStatements::__clone()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * TechDivision\Import\Product\Media\Ee\\Utils\SqlStatements
5
 *
6
 * NOTICE OF LICENSE
7
 *
8
 * This source file is subject to the Open Software License (OSL 3.0)
9
 * that is available through the world-wide-web at this URL:
10
 * http://opensource.org/licenses/osl-3.0.php
11
 *
12
 * PHP version 5
13
 *
14
 * @author    Tim Wagner <[email protected]>
15
 * @copyright 2016 TechDivision GmbH <[email protected]>
16
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link      https://github.com/techdivision/import-product-media-ee
18
 * @link      http://www.techdivision.com
19
 */
20
21
namespace TechDivision\Import\Product\Media\Ee\Utils;
22
23
use TechDivision\Import\Product\Media\Utils\SqlStatements as FallbackStatements;
24
25
/**
26
 * Utility class with the SQL statements to use.
27
 *
28
 * @author    Tim Wagner <[email protected]>
29
 * @copyright 2016 TechDivision GmbH <[email protected]>
30
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
31
 * @link      https://github.com/techdivision/import-product-media-ee
32
 * @link      http://www.techdivision.com
33
 */
34
class SqlStatements extends FallbackStatements
35
{
36
37
    /**
38
     * The SQL statement to create a new product media gallery value entry.
39
     *
40
     * @var string
41
     */
42
    const CREATE_PRODUCT_MEDIA_GALLERY_VALUE = 'INSERT
43
                                                  INTO catalog_product_entity_media_gallery_value (
44
                                                           value_id,
45
                                                           store_id,
46
                                                           row_id,
47
                                                           label,
48
                                                           position,
49
                                                           disabled
50
                                                       )
51
                                                VALUES (?, ?, ?, ?, ?, ?)';
52
53
    /**
54
     * The SQL statement to create a new product media gallery value to entity entry.
55
     *
56
     * @var string
57
     */
58
    const CREATE_PRODUCT_MEDIA_GALLERY_VALUE_TO_ENTITY = 'INSERT
59
                                                            INTO catalog_product_entity_media_gallery_value_to_entity (
60
                                                                   value_id,
61
                                                                   row_id
62
                                                                 )
63
                                                          VALUES (?, ?)';
64
}
65