first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>

View File

@@ -0,0 +1,40 @@
<?php
class Config extends \ObjectModel
{
public $id;
public $id_config;
public $level;
public $width;
public $height;
public $print_width;
public $print_height;
public $image;
public $id_product;
public $active;
public $id_page;
public $name;
public $id_configurator_group;
/**
* @see ObjectModel::$definition
*/
public static $definition = [
'table' => 'config',
'primary' => 'id_config',
'fields' => [
'id_config' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'],
'level' => ['type' => self::TYPE_INT, 'required' => false],
'width' => ['type' => self::TYPE_INT, 'required' => false],
'height' => ['type' => self::TYPE_INT, 'required' => false],
'print_width' => ['type' => self::TYPE_INT, 'required' => false],
'print_height' => ['type' => self::TYPE_INT, 'required' => false],
'image' => ['type' => self::TYPE_STRING, 'required' => false],
'id_product' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true],
'active' => ['type' => self::TYPE_BOOL, 'required' => false],
'id_page' => ['type' => self::TYPE_INT, 'required' => false],
'name' => ['type' => self::TYPE_STRING, 'required' => false],
'id_configurator_group' => ['type' => self::TYPE_INT, 'required' => false],
],
];
}

View File

@@ -0,0 +1,44 @@
<?php
class ConfigField extends \ObjectModel
{
public $id;
public $id_config_field;
public $id_config;
public $x;
public $y;
public $width;
public $height;
public $font;
public $fontsize;
public $rotation;
public $color;
public $text;
public $type;
public $textalign;
public $characters_limit;
/**
* @see ObjectModel::$definition
*/
public static $definition = [
'table' => 'config_field',
'primary' => 'id_config_field',
'fields' => [
'id_config_field' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'],
'id_config' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'],
'x' => ['type' => self::TYPE_FLOAT, 'required' => false],
'y' => ['type' => self::TYPE_FLOAT, 'required' => false],
'width' => ['type' => self::TYPE_FLOAT, 'required' => false],
'height' => ['type' => self::TYPE_FLOAT, 'required' => false],
'font' => ['type' => self::TYPE_STRING, 'required' => false],
'fontsize' => ['type' => self::TYPE_INT, 'required' => false],
'characters_limit' => ['type' => self::TYPE_INT, 'required' => false],
'rotation' => ['type' => self::TYPE_INT, 'required' => false],
'color' => ['type' => self::TYPE_STRING, 'required' => false],
'text' => ['type' => self::TYPE_STRING, 'required' => false],
'type' => ['type' => self::TYPE_INT, 'required' => false],
'textalign' => ['type' => self::TYPE_STRING, 'required' => false],
],
];
}

View File

@@ -0,0 +1,49 @@
<?php
class ConfigFieldValue extends \ObjectModel
{
public $id;
public $id_config_field_value;
public $id_config_field;
public $id_config_product;
public $value;
public $id_config;
public $x;
public $y;
public $width;
public $height;
public $font;
public $fontsize;
public $rotation;
public $color;
public $text;
public $type;
public $textalign;
public $characters_limit;
/**
* @see ObjectModel::$definition
*/
public static $definition = [
'table' => 'config_field',
'primary' => 'id_config_field_value',
'fields' => [
'id_config_field_value' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'],
'id_config_field' => ['type' => self::TYPE_INT],
'id_config_product' => ['type' => self::TYPE_INT, 'required' => false],
'value' => ['type' => self::TYPE_STRING, 'required' => false],
'id_config' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'],
'x' => ['type' => self::TYPE_FLOAT, 'required' => false],
'y' => ['type' => self::TYPE_FLOAT, 'required' => false],
'width' => ['type' => self::TYPE_FLOAT, 'required' => false],
'height' => ['type' => self::TYPE_FLOAT, 'required' => false],
'font' => ['type' => self::TYPE_STRING, 'required' => false],
'fontsize' => ['type' => self::TYPE_INT, 'required' => false],
'characters_limit' => ['type' => self::TYPE_INT, 'required' => false],
'rotation' => ['type' => self::TYPE_INT, 'required' => false],
'color' => ['type' => self::TYPE_STRING, 'required' => false],
'text' => ['type' => self::TYPE_STRING, 'required' => false],
'textalign' => ['type' => self::TYPE_STRING, 'required' => false],
],
];
}

View File

@@ -0,0 +1,32 @@
<?php
class ConfigProduct extends \ObjectModel
{
public $id;
public $id_config_product;
public $id_order;
public $id_cart;
public $id_order_detail;
public $id_customization;
public $id_product;
public $token;
public $id_configurator_group;
/**
* @see ObjectModel::$definition
*/
public static $definition = [
'table' => 'config_product',
'primary' => 'id_config_product',
'fields' => [
'id_config_product' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'],
'id_order' => ['type' => self::TYPE_INT, 'required' => false],
'id_cart' => ['type' => self::TYPE_INT, 'required' => false],
'id_order_detail' => ['type' => self::TYPE_INT, 'required' => false],
'id_customization' => ['type' => self::TYPE_INT, 'required' => false],
'id_product' => ['type' => self::TYPE_INT, 'required' => false],
'token' => ['type' => self::TYPE_STRING, 'required' => false],
'id_configurator_group' => ['type' => self::TYPE_INT, 'required' => false],
],
];
}

View File

@@ -0,0 +1,18 @@
<?php
class ConfiguratorGroup extends \ObjectModel
{
public $id;
public $name;
/**
* @see ObjectModel::$definition
*/
public static $definition = [
'table' => 'configurator_group',
'primary' => 'id_configurator_group',
'fields' => [
'name' => ['type' => self::TYPE_STRING, 'required' => false],
],
];
}

View File

@@ -0,0 +1,7 @@
<?php
class My_PDF extends TCPDF {
public function changeTheDefault($tcpdflink) {
$this->tcpdflink = $tcpdflink;
}
}