Definition at line 5 of file Category.php.
Definition at line 7 of file Category.php.
10 $result = self::$dbo->exec(
"CREATE TABLE IF NOT EXISTS `{$dbPrefix}category` (
11 `id` INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
12 `parent_id` INTEGER(11) UNSIGNED NULL,
13 FOREIGN KEY (`parent_id`) REFERENCES `{$dbPrefix}category`(id)
15 if ($result ===
false)
16 throw new \Exception(get_class().
": ".self::$dbo->errorInfo()[2]);
The documentation for this class was generated from the following file: