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