yf_shop__box user module

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

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

_box

public function _box($name = '', $selected = '')
    public function _box($name = '', $selected = '')
    {
        if (empty($name) || empty(module('shop')->_boxes[$name])) {
            return false;
        }
        return eval('return common()->' . module('shop')->_boxes[$name] . ';');
    }