yf_shop__product_id_url user module| File | plugins/shop/modules/shop/yf_shop__product_id_url.class.php |
|---|---|
| Use | module('shop__product_id_url'), URL ?object=shop__product_id_url |
| Property | Default | Description |
|---|---|---|
| None declared in this class. | ||
None without a leading underscore.
_ hooks and helpers; not routable as page actionspublic function _product_id_url($product_info = [])
public function _product_id_url($product_info = [])
{
return strlen($product_info['url']) ? $product_info['url'] : $product_info['id'];
}