* Finish task #8942.

This commit is contained in:
holan20180123
2021-01-07 13:02:44 +08:00
parent def447c084
commit 7d9166bf8e
+6
View File
@@ -493,6 +493,12 @@ class productModel extends model
return $output;
}
/**
* Get product main action.
*
* @access public
* @return string
*/
public function getProductMainAction()
{
return common::hasPriv('product', 'all') ? html::a(helper::createLink('product', 'all'), $this->lang->product->moreProduct, '', "class='btn btn-link'") : '';