yf_shop__manufacturer_show user module

Fileplugins/shop/modules/shop/yf_shop__manufacturer_show.class.php
Usemodule('shop__manufacturer_show'), URL ?object=shop__manufacturer_show

Public properties

PropertyDefaultDescription
None declared in this class.

Public methods 1

None without a leading underscore.

Methods starting with _ hooks and helpers; not routable as page actions

public function _manufacturer_show()
    public function _manufacturer_show()
    {
        // Prepare manufacturer
        $replace = [
            'brand' => module('shop')->_manufacturer,
            'manufacturer_box' => common()->select_box('manufacturer', module('shop')->_man_for_select, ($_SESSION['man_id'] ?? null), false, 2),
            'url_manufacturer' => process_url('./?object=shop&action=products_show'),
        ];
        unset($_SESSION['man_id']);
        return tpl()->parse('shop/manufacturer', $replace);
    }