Definition at line 5 of file Product.php.
Definition at line 7 of file Product.php.
10 $result = self::$dbo->exec(
"CREATE TABLE IF NOT EXISTS `{$dbPrefix}product` (
11 `id` INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
12 `parent` INTEGER(11) UNSIGNED NULL,
13 `shurl` VARCHAR(255) NOT NULL,
14 `priceExcl` FLOAT NULL,
15 `priceIncl` FLOAT NULL,
16 `ean` VARCHAR(64) NULL,
17 FOREIGN KEY (`parent`) REFERENCES `{$dbPrefix}product`(id)
19 if ($result ===
false)
20 throw new \Exception(get_class().
": ".self::$dbo->errorInfo()[2]);
The documentation for this class was generated from the following file: