yf_shop__manufacturer_show user module| File | plugins/shop/modules/shop/yf_shop__manufacturer_show.class.php |
|---|---|
| Use | module('shop__manufacturer_show'), URL ?object=shop__manufacturer_show |
| Property | Default | Description |
|---|---|---|
| None declared in this class. | ||
None without a leading underscore.
_ hooks and helpers; not routable as page actionspublic 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);
}