Files
BiveEngine/playarea/datatypes/datatype.attribute.php
2025-12-24 19:19:01 +03:00

17 lines
724 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
class Attribute extends Item {
public string $title = "Атрибуты товара";
public string $description = "Управление атрибутами товаров на сайте.";
public string $icon = "bookmark";
public bool $visible_content = false;
public function __construct($item_id)
{
parent::__construct($item_id);
$this->props = array(
"visible" => new Prop($this, "visible", "1", "Видимость", true, "plain_text"),
"open" => new Prop($this, "open", "0", "Открыт по умолчанию", true, "plain_text"),
"weight" => new Prop($this, "weight", "1000", "Вес", true, "plain_text"),
);
}
}