public function toInsertLink($gid, $aData) { if (!function_exists("goods_insert_link")) { require CORE_INCLUDE_DIR . "/core/goods.insert_link.php"; } return goods_insert_link($gid, $aData, $this); }
function toInsertLink($gid, $aData) { if (!function_exists('goods_insert_link')) { require CORE_INCLUDE_DIR . '/core/goods.insert_link.php'; } return goods_insert_link($gid, $aData, $this); }