yf_shop__product_id_url user module

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

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 _product_id_url($product_info = [])
    public function _product_id_url($product_info = [])
    {
        return strlen($product_info['url']) ? $product_info['url'] : $product_info['id'];
    }