meraproject/themes/modulebz/shop/item/controller.php
keboss-m 5c21d25d45 Initial commit: Merakomis portal, Docker stack and user-reader API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 11:04:05 +03:00

24 lines
671 B
PHP

<?php
namespace controller\themes\modulebz\shop\item;
use core\core\structure\eRowClick;
use ms\ms\structure\msModuleTable;
use themes\modulebz\structure\mbzControllerTable;
use themes\modulebz\shop\item;
class API extends mbzControllerTable {
/** @var msModuleTable */
static $class = 'themes\modulebz\shop\item';
public static function getTableData($post = []){
$post['options'][\ModuleTable::ROW_CLICK] = eRowClick::CARD;
$post['options'][\ModuleTable::COLUMN_RENDER] = [
Item::$IMAGE => [
\ModuleTable::COLUMN_RENDER_IMAGE_WRAP => true,
]
];
parent::getTableData($post);
}
}